-
Notifications
You must be signed in to change notification settings - Fork 727
/
Makefile
45 lines (36 loc) · 1.06 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
PORTNAME= epstool
PORTVERSION= 3.09
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://www.ghostgum.com.au/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Create or extract preview bitmaps in EPS files
WWW= http://www.ghostgum.com.au/software/epstool.htm
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENCE
USES= ghostscript:run gmake
MAKEFILE= makefile
MAKE_ARGS= CC="${CC}" \
CCAUX="${CC}" \
CLINK="${CC} ${LDFLAGS}" \
EPSLIB="" \
GSCDEBUG="" \
GTKCFLAGS="" \
GTKLIBS="" \
LIBPNGCFLAGS="" \
LIBPNGLIBS="" \
LINK="${CC} ${LDFLAGS}" \
MAKE="${MAKE_CMD}"
ALL_TARGET= ${PORTNAME}
PLIST_FILES= bin/epstool \
share/man/man1/epstool.1.gz
PORTDOCS= epstool.htm gsview.css
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/epstool ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/epstool.1 ${STAGEDIR}${PREFIX}/share/man/man1
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/epstool.htm ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/gsview.css ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>