mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
21227e5e80
- Switch to options helpers
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
# Created by: Yuzo FURUKAWA <hurukawa@kuee.kyoto-u.ac.jp>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= epstool
|
|
PORTVERSION= 3.08
|
|
PORTREVISION= 6
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= LOCAL/bf
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Create or extract preview bitmaps in EPS files
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENCE
|
|
|
|
USES= ghostscript:run gmake
|
|
MAKEFILE= makefile
|
|
MAKE_ARGS= MAKE="${MAKE_CMD}" GSCDEBUG="" CC="${CC}" CCAUX="${CC}" \
|
|
CLINK="${CC} ${LDFLAGS}" LINK="${CC} ${LDFLAGS}" EPSLIB="" \
|
|
GTKCFLAGS="" GTKLIBS="" LIBPNGCFLAGS="" LIBPNGLIBS=""
|
|
ALL_TARGET= ${PORTNAME}
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
PLIST_FILES= bin/epstool 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}${MANPREFIX}/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>
|