aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-12-26 22:48:36 +0800
committerbapt <bapt@FreeBSD.org>2013-12-26 22:48:36 +0800
commit1acd09bc8ce41ec0dce5558f1f578408fce1ae94 (patch)
tree0cdc31af24a3f7e7ded37639b16980a4c241d82a /archivers
parent2d0ce396b8bf5a5aead0a45e3534cd4ae0d63cfb (diff)
downloadfreebsd-ports-gnome-1acd09bc8ce41ec0dce5558f1f578408fce1ae94.tar.gz
freebsd-ports-gnome-1acd09bc8ce41ec0dce5558f1f578408fce1ae94.tar.zst
freebsd-ports-gnome-1acd09bc8ce41ec0dce5558f1f578408fce1ae94.zip
Support to stage
Allow packaging as a user
Diffstat (limited to 'archivers')
-rw-r--r--archivers/libcabinet/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/archivers/libcabinet/Makefile b/archivers/libcabinet/Makefile
index 426b0550e267..f89f7ffb0e3a 100644
--- a/archivers/libcabinet/Makefile
+++ b/archivers/libcabinet/Makefile
@@ -10,8 +10,8 @@ MAINTAINER= tj@FreeBSD.org
COMMENT= Portable library and utility to use Microsoft cabinet files (.cab)
USE_LDCONFIG= yes
-NO_STAGE= yes
+USES= uidfix
SRCFILE= ${WRKSRC}/listcab.cpp
PROGFILE= ${SRCFILE:S/.cpp$//}
MAKE_ENV= WITHOUT_PROFILE=yes __MAKE_CONF=/dev/null SRCCONF=/dev/null
@@ -19,10 +19,10 @@ MAKE_ENV= WITHOUT_PROFILE=yes __MAKE_CONF=/dev/null SRCCONF=/dev/null
post-build:
${CXX} ${CXXFLAGS} -o ${PROGFILE} ${SRCFILE} -L${WRKSRC} -lcabinet
-pre-su-install:
- ${MKDIR} ${PREFIX}/include/cabinet
+pre-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/include/cabinet
post-install:
- ${INSTALL_PROGRAM} ${PROGFILE} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${PROGFILE} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>