From 714e6a5089a9b031105b3b346930c97daa9dcd01 Mon Sep 17 00:00:00 2001 From: roger Date: Fri, 6 Sep 2002 05:03:15 +0000 Subject: Fix portlint warnings and add a method of installing just the headers (needed by the OpenH323 port) --- comms/ixj/Makefile | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'comms/ixj') 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 -- cgit