1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Fix portlint warnings and add a method of installing just the headers

(needed by the OpenH323 port)
This commit is contained in:
Roger Hardiman 2002-09-06 05:03:15 +00:00
parent f17b346fb5
commit e424b62418
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65707

View File

@ -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>