aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-26 17:45:56 +0800
committermiwi <miwi@FreeBSD.org>2014-02-26 17:45:56 +0800
commit9f21436cbd46c1a58f47a4b3bc0f75259b2ef882 (patch)
tree12a12bcbf41f1df758866ecd735752653739135b /graphics
parent7f84909999041bab58e51c247e646b515a9a6aaa (diff)
downloadfreebsd-ports-gnome-9f21436cbd46c1a58f47a4b3bc0f75259b2ef882.tar.gz
freebsd-ports-gnome-9f21436cbd46c1a58f47a4b3bc0f75259b2ef882.tar.zst
freebsd-ports-gnome-9f21436cbd46c1a58f47a4b3bc0f75259b2ef882.zip
- Stage support
Diffstat (limited to 'graphics')
-rw-r--r--graphics/potrace/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/graphics/potrace/Makefile b/graphics/potrace/Makefile
index 00a627a864f6..d928792b2a42 100644
--- a/graphics/potrace/Makefile
+++ b/graphics/potrace/Makefile
@@ -11,10 +11,9 @@ COMMENT= Transforms bitmaps into vector graphics
GNU_CONFIGURE= yes
-.if !defined(NO_INSTALL_MANPAGES)
-MAN1= potrace.1 mkbitmap.1
-.endif
-PLIST_FILES= bin/potrace bin/mkbitmap
+PLIST_FILES= bin/potrace bin/mkbitmap \
+ man/man1/potrace.1.gz \
+ man/man1/mkbitmap.1.gz
OPTIONS_DEFINE= METRIC A4
OPTIONS_DEFAULT=METRIC A4
@@ -34,11 +33,9 @@ CONFIGURE_ARGS+= --enable-metric
.endif
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/potrace ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/src/mkbitmap ${PREFIX}/bin
-.if !defined(NO_INSTALL_MANPAGES)
- ${INSTALL_MAN} ${WRKSRC}/doc/potrace.1 ${MAN1PREFIX}/man/man1
- ${INSTALL_MAN} ${WRKSRC}/doc/mkbitmap.1 ${MAN1PREFIX}/man/man1
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/potrace ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/mkbitmap ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/doc/potrace.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/doc/mkbitmap.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>