aboutsummaryrefslogtreecommitdiff
path: root/comms/ixj
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/ixj
parentf17b346fb50be01410b768b2a3a3bb5c9d6e271c (diff)
downloadports-e424b62418627998850f0fa658a8443daacd15ed.tar.gz
ports-e424b62418627998850f0fa658a8443daacd15ed.zip
Notes
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>