aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
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>