aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gctpc
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-09 19:17:42 +0800
committermiwi <miwi@FreeBSD.org>2014-02-09 19:17:42 +0800
commitfbd2cf8677ba9b705d89098b78805a4f4b8eadee (patch)
tree89026108978004665a8f4255147eb7e7adb2f60d /misc/gctpc
parenta0d46292197a92586690378c25d04cb41ba43d58 (diff)
downloadfreebsd-ports-gnome-fbd2cf8677ba9b705d89098b78805a4f4b8eadee.tar.gz
freebsd-ports-gnome-fbd2cf8677ba9b705d89098b78805a4f4b8eadee.tar.zst
freebsd-ports-gnome-fbd2cf8677ba9b705d89098b78805a4f4b8eadee.zip
- Stage support
Diffstat (limited to 'misc/gctpc')
-rw-r--r--misc/gctpc/Makefile23
1 files changed, 10 insertions, 13 deletions
diff --git a/misc/gctpc/Makefile b/misc/gctpc/Makefile
index 33b29cfbdadc..3c8f3c87a9a4 100644
--- a/misc/gctpc/Makefile
+++ b/misc/gctpc/Makefile
@@ -15,25 +15,22 @@ OPTIONS_DEFINE= DOCS
WRKSRC= ${WRKDIR}/${PORTNAME}/source
-USE_GMAKE= yes
+USES= gmake
ALL_TARGET= libgctpc.so.1
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
-NO_STAGE= yes
.include <bsd.port.options.mk>
do-install:
- ${INSTALL_DATA} ${WRKSRC}/libgctpc.a ${PREFIX}/lib
- ${INSTALL_PROGRAM} ${WRKSRC}/libgctpc.so.1 ${PREFIX}/lib
- ${LN} -sf libgctpc.so.1 ${PREFIX}/lib/libgctpc.so
- ${MKDIR} ${PREFIX}/include/gctpc
- ${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/gctpc
- ${INSTALL_DATA} ${FILESDIR}/*.h ${PREFIX}/include/gctpc
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/../doc/* ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/../README ${DOCSDIR}/README.main
-.endif
+ ${INSTALL_DATA} ${WRKSRC}/libgctpc.a ${STAGEDIR}${PREFIX}/lib
+ ${INSTALL_PROGRAM} ${WRKSRC}/libgctpc.so.1 ${STAGEDIR}${PREFIX}/lib
+ ${LN} -sf libgctpc.so.1 ${STAGEDIR}${PREFIX}/lib/libgctpc.so
+ ${MKDIR} ${STAGEDIR}${PREFIX}/include/gctpc
+ ${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/gctpc
+ ${INSTALL_DATA} ${FILESDIR}/*.h ${STAGEDIR}${PREFIX}/include/gctpc
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/../doc/* ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/../README ${STAGEDIR}${DOCSDIR}/README.main
.include <bsd.port.mk>