diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2011-07-02 07:55:02 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2011-07-02 07:55:02 +0000 |
commit | f160a009eb7ed5b216620a2de18e9ba3e7bbf07a (patch) | |
tree | 81635e4faed9f253328b441da54a7f2d073123e3 /graphics/peps/Makefile | |
parent | d80c5709670840ceb5c0dff6b34b9c386f789e0e (diff) | |
download | ports-f160a009eb7ed5b216620a2de18e9ba3e7bbf07a.tar.gz ports-f160a009eb7ed5b216620a2de18e9ba3e7bbf07a.zip |
Notes
Diffstat (limited to 'graphics/peps/Makefile')
-rw-r--r-- | graphics/peps/Makefile | 31 |
1 files changed, 22 insertions, 9 deletions
diff --git a/graphics/peps/Makefile b/graphics/peps/Makefile index 5547fe451be3..d8504c2380d7 100644 --- a/graphics/peps/Makefile +++ b/graphics/peps/Makefile @@ -9,24 +9,37 @@ PORTNAME= peps PORTVERSION= 2.0 PORTREVISION= 4 CATEGORIES= graphics -MASTER_SITES= ftp://ftp.peps.redprince.net/unix/peps/ +MASTER_SITES= http://peps.redprince.net/peps/ \ + ftp://ftp.peps.redprince.net/unix/peps/ MAINTAINER= ports@FreeBSD.org COMMENT= Converts EPS images to anti-aliased bitmaps +USE_GHOSTSCRIPT_RUN= yes +MAKE_ENV= GSPATH="${LOCALBASE}/bin/gs" GZPATH="/usr/bin/gzip" \ + ETC="${PREFIX}/etc" + MAN1= peps.1 +PORTDOCS= peps.pdf PLIST_FILES= bin/peps \ - etc/peps.mime \ - share/doc/${DISTNAME}/peps.pdf -PLIST_DIRS= share/doc/${DISTNAME} + etc/peps.mime -USE_GHOSTSCRIPT_RUN= yes -MAKE_ENV= DOCDIR=${PREFIX}/share/doc MAN1DIR=${MANPREFIX}/man/man1 \ - ETC=${PREFIX}/etc XBINDIR=${PREFIX}/bin +.if defined(WITHOUT_X11) +ALL_TARGET= peps +.else +PLIST_FILES+= bin/xpeps +.endif +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/peps ${PREFIX}/bin .if !defined(WITHOUT_X11) -PLIST_FILES+= bin/xpeps -INSTALL_TARGET= install xinstall + ${INSTALL_PROGRAM} ${WRKSRC}/xpeps ${PREFIX}/bin +.endif + ${INSTALL_MAN} ${WRKSRC}/peps.1 ${MANPREFIX}/man/man1 + ${INSTALL_DATA} ${WRKSRC}/peps.mime ${PREFIX}/etc +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/peps.pdf ${DOCSDIR} .endif .include <bsd.port.mk> |