summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorRoger Hardiman <roger@FreeBSD.org>2002-09-06 05:03:15 +0000
committerRoger Hardiman <roger@FreeBSD.org>2002-09-06 05:03:15 +0000
commite424b62418627998850f0fa658a8443daacd15ed (patch)
tree15d242edaa40439d86c42038b5c621bcdc2c0ef3 /comms
parentUpdate 3.9.12 --> 3.9.13 (diff)
Fix portlint warnings and add a method of installing just the headers
(needed by the OpenH323 port)
Notes
Notes: svn path=/head/; revision=65707
Diffstat (limited to 'comms')
-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>