aboutsummaryrefslogtreecommitdiffstats
path: root/comms/ixj
diff options
context:
space:
mode:
authorroger <roger@FreeBSD.org>2002-09-06 13:03:15 +0800
committerroger <roger@FreeBSD.org>2002-09-06 13:03:15 +0800
commit714e6a5089a9b031105b3b346930c97daa9dcd01 (patch)
tree0e6a1d93cda8892383c3372e4d27d90ee33fbcc3 /comms/ixj
parentee2f323d4ac4d25d5274466d245224d553d745e3 (diff)
downloadfreebsd-ports-gnome-714e6a5089a9b031105b3b346930c97daa9dcd01.tar.gz
freebsd-ports-gnome-714e6a5089a9b031105b3b346930c97daa9dcd01.tar.zst
freebsd-ports-gnome-714e6a5089a9b031105b3b346930c97daa9dcd01.zip
Fix portlint warnings and add a method of installing just the headers
(needed by the OpenH323 port)
Diffstat (limited to 'comms/ixj')
-rw-r--r--comms/ixj/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/comms/ixj/Makefile b/comms/ixj/Makefile
index 8d6da28b7f19..9e289a2848d8 100644
--- a/comms/ixj/Makefile
+++ b/comms/ixj/Makefile
@@ -18,6 +18,10 @@ ONLY_FOR_ARCHS= i386
WRKSRC= ${WRKDIR}/ixj_freebsd
MAKEFILE= Makefile.BSD
+post-patch:
+ ${CP} ${FILESDIR}/ixj.sh ${WRKSRC}
+ ${PERL} -pi.orig -e "s@%%PREFIX%%@${PREFIX}@g" ${WRKSRC}/ixj.sh
+
pre-build:
.if !exists(${SRC_BASE}/sys/Makefile)
@${ECHO} "*************************************************"; \
@@ -26,17 +30,18 @@ pre-build:
exit 1
.endif
-post-patch:
- ${CP} ${FILESDIR}/ixj.sh ${WRKSRC}
- ${PERL} -pi.orig -e "s@%%PREFIX%%@${PREFIX}@g" ${WRKSRC}/ixj.sh
-
do-install:
- @${MKDIR} -p ${PREFIX}/modules
+ @${MKDIR} ${PREFIX}/modules
@${INSTALL_DATA} ${WRKSRC}/ixj.ko ${PREFIX}/modules
- @${MKDIR} -p ${PREFIX}/include/sys
+ @${MKDIR} ${PREFIX}/include/sys
@${INSTALL_DATA} ${WRKSRC}/ixjuser.h ${PREFIX}/include/sys
@${INSTALL_DATA} ${WRKSRC}/telephony.h ${PREFIX}/include/sys
@${INSTALL_SCRIPT} ${WRKSRC}/ixj.sh ${PREFIX}/etc/rc.d/
@${CAT} ${PKGMESSAGE}
+header-install: patch
+ @${MKDIR} ${PREFIX}/include/sys
+ @${INSTALL_DATA} ${WRKSRC}/ixjuser.h ${PREFIX}/include/sys
+ @${INSTALL_DATA} ${WRKSRC}/telephony.h ${PREFIX}/include/sys
+
.include <bsd.port.mk>