aboutsummaryrefslogtreecommitdiffstats
path: root/devel/bglibs
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-21 09:58:51 +0800
committermiwi <miwi@FreeBSD.org>2014-02-21 09:58:51 +0800
commitd208eb88b8854d1bceff36fa3dbf64b71c449944 (patch)
treec1807493cf359075912f4f1618f462516f150229 /devel/bglibs
parent5a1af2ff533550129a1e2780c3a9c1d4b040f83b (diff)
downloadfreebsd-ports-gnome-d208eb88b8854d1bceff36fa3dbf64b71c449944.tar.gz
freebsd-ports-gnome-d208eb88b8854d1bceff36fa3dbf64b71c449944.tar.zst
freebsd-ports-gnome-d208eb88b8854d1bceff36fa3dbf64b71c449944.zip
- Stage support
Diffstat (limited to 'devel/bglibs')
-rw-r--r--devel/bglibs/Makefile18
-rw-r--r--devel/bglibs/pkg-plist1
2 files changed, 8 insertions, 11 deletions
diff --git a/devel/bglibs/Makefile b/devel/bglibs/Makefile
index ebf7966b75a5..f3a5bde296de 100644
--- a/devel/bglibs/Makefile
+++ b/devel/bglibs/Makefile
@@ -24,11 +24,9 @@ BGLIBS_LIB= ${PREFIX}/lib/${PORTNAME}
USE_LDCONFIG= ${BGLIBS_LIB}
DOCS= NEWS README TODO doc/html/*
-MAN1= cli-generate.1
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
@@ -37,17 +35,15 @@ post-patch:
do-configure:
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/conf-ld
- ${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/conf-home
- ${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
- ${ECHO_CMD} "${PREFIX}/man" > ${WRKSRC}/conf-man
- ${ECHO_CMD} "${BGLIBS_INC}" > ${WRKSRC}/conf-include
- ${ECHO_CMD} "${BGLIBS_LIB}" > ${WRKSRC}/conf-lib
+ ${ECHO_CMD} "${STAGEDIR}${PREFIX}" > ${WRKSRC}/conf-home
+ ${ECHO_CMD} "${STAGEDIR}${PREFIX}/bin" > ${WRKSRC}/conf-bin
+ ${ECHO_CMD} "${STAGEDIR}${PREFIX}/man" > ${WRKSRC}/conf-man
+ ${ECHO_CMD} "${STAGEDIR}${BGLIBS_INC}" > ${WRKSRC}/conf-include
+ ${ECHO_CMD} "${STAGEDIR}${BGLIBS_LIB}" > ${WRKSRC}/conf-lib
-.if ${PORT_OPTIONS:MDOCS}
post-install:
- @${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
selftest: build
cd ${WRKSRC} && ${SH} selftests.sh
diff --git a/devel/bglibs/pkg-plist b/devel/bglibs/pkg-plist
index b97677321287..d33279786356 100644
--- a/devel/bglibs/pkg-plist
+++ b/devel/bglibs/pkg-plist
@@ -244,6 +244,7 @@ lib/bglibs/vmailmgr/vpwentry.a
%%PORTDOCS%%%%DOCSDIR%%/surf_8h-source.html
%%PORTDOCS%%%%DOCSDIR%%/surfrand_8h-source.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+man/man1/cli-generate.1.gz
@dirrm include/bglibs/adt
@dirrm include/bglibs/base64
@dirrm include/bglibs/cdb