aboutsummaryrefslogtreecommitdiff
path: root/graphics/jasper
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2013-11-22 19:36:18 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2013-11-22 19:36:18 +0000
commit0bf1fc257af6ab5b28cd4687b057fb7e0354ccf0 (patch)
tree8abe59615b05212b92045386b11fb80ff7580349 /graphics/jasper
parent6cb484a8c6dbe9bdad2a9a60a86ecfdd037525bc (diff)
downloadports-0bf1fc257af6ab5b28cd4687b057fb7e0354ccf0.tar.gz
ports-0bf1fc257af6ab5b28cd4687b057fb7e0354ccf0.zip
Notes
Diffstat (limited to 'graphics/jasper')
-rw-r--r--graphics/jasper/Makefile16
-rw-r--r--graphics/jasper/pkg-plist4
2 files changed, 8 insertions, 12 deletions
diff --git a/graphics/jasper/Makefile b/graphics/jasper/Makefile
index 39f29b170492..9dce359a379b 100644
--- a/graphics/jasper/Makefile
+++ b/graphics/jasper/Makefile
@@ -16,8 +16,6 @@ LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg
LICENSE= MIT
-NO_STAGE= yes
-
USE_AUTOTOOLS= libtool
USE_ZIP= yes
USE_GNOME= lthack
@@ -50,17 +48,11 @@ PLIST_SUB+= OPENGL="@comment "
EXTRA_PATCHES+= ${FILESDIR}/uuid.patch
.endif
-.if !defined(NO_INSTALL_MANPAGES)
-MAN1= imgcmp.1 imginfo.1 jasper.1 jiv.1
-.endif
-
post-install:
-.if !defined(NO_INSTALL_MANPAGES)
- @cd ${WRKSRC}/src/appl && make install-man
-.endif
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
+ cd ${WRKSRC}/src/appl && ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} install-man
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}/
.endif
.include <bsd.port.mk>
diff --git a/graphics/jasper/pkg-plist b/graphics/jasper/pkg-plist
index 25529ed774f1..1e281fb816e6 100644
--- a/graphics/jasper/pkg-plist
+++ b/graphics/jasper/pkg-plist
@@ -26,6 +26,10 @@ lib/libjasper.a
lib/libjasper.la
lib/libjasper.so
lib/libjasper.so.4
+man/man1/imgcmp.1.gz
+man/man1/imginfo.1.gz
+man/man1/jasper.1.gz
+man/man1/jiv.1.gz
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/jasper.pdf
%%PORTDOCS%%%%DOCSDIR%%/jpeg2000.pdf