aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorjadawin <jadawin@FreeBSD.org>2013-12-28 03:47:35 +0800
committerjadawin <jadawin@FreeBSD.org>2013-12-28 03:47:35 +0800
commitba924e7d694adee80e4b60e1406f3ccccb619d29 (patch)
treeaeea0e0808d31d98956d304bacfaf0a1ab60ff0c /sysutils
parentee680e49a455a4768dcc361bc746345c19dc70af (diff)
downloadfreebsd-ports-gnome-ba924e7d694adee80e4b60e1406f3ccccb619d29.tar.gz
freebsd-ports-gnome-ba924e7d694adee80e4b60e1406f3ccccb619d29.tar.zst
freebsd-ports-gnome-ba924e7d694adee80e4b60e1406f3ccccb619d29.zip
- Support STAGE
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/dar/Makefile20
-rw-r--r--sysutils/dar/pkg-plist5
2 files changed, 15 insertions, 10 deletions
diff --git a/sysutils/dar/Makefile b/sysutils/dar/Makefile
index 0eaca356f228..2b77e96fd0db 100644
--- a/sysutils/dar/Makefile
+++ b/sysutils/dar/Makefile
@@ -17,9 +17,6 @@ CONFIGURE_ARGS= --disable-build-html --datadir=${DATADIR} --disable-upx
CPPFLAGS+= -DHAVE_DECL_GETOPT=0
-MAN1= dar.1 dar_cp.1 dar_manager.1 dar_slave.1 dar_xform.1
-
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
@@ -27,7 +24,7 @@ USES+= gettext
PLIST_SUB+= NLS=""
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_ARGS+=--with-libintl-prefix=${PREFIX}
+CONFIGURE_ARGS+=--with-libintl-prefix=${STAGEDIR}${PREFIX}
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
@@ -35,12 +32,15 @@ PLIST_SUB+= NLS="@comment "
post-install:
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html *.dtd *.txt *.jpg [CR]* ${DOCSDIR}
- @${MKDIR} ${DOCSDIR}/samples
- cd ${WRKSRC}/doc/samples && ${INSTALL_DATA} [JR]* [a-z]* ${DOCSDIR}/samples
- @${MKDIR} ${DOCSDIR}/mini-howto
- cd ${WRKSRC}/doc/mini-howto && ${INSTALL_DATA} *.html README ${DOCSDIR}/mini-howto
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html *.dtd *.txt *.jpg [CR]* \
+ ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}/samples
+ cd ${WRKSRC}/doc/samples && ${INSTALL_DATA} [JR]* [a-z]* \
+ ${STAGEDIR}${DOCSDIR}/samples
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}/mini-howto
+ cd ${WRKSRC}/doc/mini-howto && ${INSTALL_DATA} \
+ *.html README ${STAGEDIR}${DOCSDIR}/mini-howto
.endif
.include <bsd.port.mk>
diff --git a/sysutils/dar/pkg-plist b/sysutils/dar/pkg-plist
index 6f45ea355bca..57b348482595 100644
--- a/sysutils/dar/pkg-plist
+++ b/sysutils/dar/pkg-plist
@@ -44,6 +44,11 @@ bin/dar_slave
bin/dar_manager
bin/dar_cp
bin/dar_static
+man/man1/dar.1.gz
+man/man1/dar_cp.1.gz
+man/man1/dar_manager.1.gz
+man/man1/dar_slave.1.gz
+man/man1/dar_xform.1.gz
%%PORTDOCS%%%%DOCSDIR%%/samples/dar_par.dcf
%%PORTDOCS%%%%DOCSDIR%%/samples/cdbackup.sh
%%PORTDOCS%%%%DOCSDIR%%/samples/darrc_sample