1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Add staging support

This commit is contained in:
Pawel Pekala 2014-05-02 16:35:17 +00:00
parent ae7bbebef9
commit d2367ccede
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352827

View File

@ -29,7 +29,6 @@ PLIST_DIRS= lib/irssi/modules/lib
CFLAGS+= -shared -fPIC -I${LOCALBASE}/include/irssi -I${LOCALBASE}/include/irssi/src -I${LOCALBASE}/include/irssi/src/core -I${LOCALBASE}/include/irssi/src/irc/core -I${LOCALBASE}/include/irssi/src/irc/dcc `pkg-config --cflags glib-2.0`
NO_STAGE= yes
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}
@ -39,7 +38,8 @@ do-build:
${CC} ${CFLAGS} -o ${WRKDIR}/${DISTNAME}.so ${WRKDIR}/${DISTFILES}
do-install:
${MKDIR} ${PREFIX}/lib/irssi/modules/lib
${CP} ${WRKSRC}/${DISTNAME}.so ${PREFIX}/lib/irssi/modules/lib/${DISTNAME}.so
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/irssi/modules/lib
${INSTALL_LIB} ${WRKSRC}/${DISTNAME}.so \
${STAGEDIR}${PREFIX}/lib/irssi/modules/lib
.include <bsd.port.mk>