aboutsummaryrefslogtreecommitdiff
path: root/graphics/peps
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2015-08-22 15:43:04 +0000
committerHiroki Sato <hrs@FreeBSD.org>2015-08-22 15:43:04 +0000
commit801cff9e4e364a30da361f4a26c1cfd78ab33264 (patch)
tree2667cec71399a40c32c7ad7c01c71bbdfe184072 /graphics/peps
parente252db8e8344d1772c4682167378cf8b6ce152df (diff)
downloadports-801cff9e4e364a30da361f4a26c1cfd78ab33264.tar.gz
ports-801cff9e4e364a30da361f4a26c1cfd78ab33264.zip
- Split X11 part into graphics/xpeps from graphics/peps.
- Add LICENSE. - doceng@ takes maintainership becuase this is used in textproc/docproj.
Notes
Notes: svn path=/head/; revision=395039
Diffstat (limited to 'graphics/peps')
-rw-r--r--graphics/peps/Makefile22
1 files changed, 9 insertions, 13 deletions
diff --git a/graphics/peps/Makefile b/graphics/peps/Makefile
index 381ccf527308..fc0790b17e67 100644
--- a/graphics/peps/Makefile
+++ b/graphics/peps/Makefile
@@ -3,41 +3,37 @@
PORTNAME= peps
PORTVERSION= 2.0
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= graphics
MASTER_SITES= http://peps.redprince.net/peps/ \
ftp://ftp.peps.redprince.net/unix/peps/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= doceng@FreeBSD.org
COMMENT= Converts EPS images to anti-aliased bitmaps
+LICENSE= BSD2CLAUSE
+
USES= ghostscript:run
MAKE_ENV= GSPATH="${LOCALBASE}/bin/gs" GZPATH="/usr/bin/gzip" \
ETC="${PREFIX}/etc"
+ALL_TARGET= peps
PLIST_FILES= bin/peps \
etc/peps.mime \
man/man1/peps.1.gz
PORTDOCS= peps.pdf
-OPTIONS_DEFINE= DOCS X11
-OPTIONS_DEFAULT= X11
-
-X11_PLIST_FILES= bin/xpeps
+OPTIONS_DEFINE= DOCS
+OPTIONS_DEFAULT=DOCS
.include <bsd.port.options.mk>
-.if ! ${PORT_OPTIONS:MX11}
-ALL_TARGET= peps
-.endif
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/peps ${STAGEDIR}${PREFIX}/bin
-.if ${PORT_OPTIONS:MX11}
- ${INSTALL_PROGRAM} ${WRKSRC}/xpeps ${STAGEDIR}${PREFIX}/bin
-.endif
${INSTALL_MAN} ${WRKSRC}/peps.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/peps.mime ${STAGEDIR}${PREFIX}/etc
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/peps.pdf ${STAGEDIR}${DOCSDIR}