From ba924e7d694adee80e4b60e1406f3ccccb619d29 Mon Sep 17 00:00:00 2001 From: jadawin Date: Fri, 27 Dec 2013 19:47:35 +0000 Subject: - Support STAGE --- sysutils/dar/Makefile | 20 ++++++++++---------- sysutils/dar/pkg-plist | 5 +++++ 2 files changed, 15 insertions(+), 10 deletions(-) (limited to 'sysutils') 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 .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 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 -- cgit