From 71b299f2ee28ae636262b0a7c8b12f1ee50c4ee9 Mon Sep 17 00:00:00 2001 From: bapt Date: Wed, 5 Feb 2014 23:35:07 +0000 Subject: Support stage --- audio/umurmur/Makefile | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/audio/umurmur/Makefile b/audio/umurmur/Makefile index c208dbeb74cf..b7218d83a02f 100644 --- a/audio/umurmur/Makefile +++ b/audio/umurmur/Makefile @@ -12,7 +12,6 @@ COMMENT= Minimalistic Murmur (Mumble server) LIB_DEPENDS= libconfig.so:${PORTSDIR}/devel/libconfig \ libprotobuf-c.so:${PORTSDIR}/devel/protobuf-c -NO_STAGE= yes USES= gmake GNU_CONFIGURE= yes USE_OPENSSL= yes @@ -23,11 +22,6 @@ USE_RC_SUBR= umurmur CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -.include - -pre-su-install: - @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL - post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/src/conf.h @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/src/conf.c @@ -35,10 +29,7 @@ post-patch: -e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/umurmur.conf.example post-install: - @${MKDIR} ${PREFIX}/etc/umurmur - @${INSTALL_DATA} ${WRKSRC}/umurmur.conf.example ${PREFIX}/etc/umurmur/umurmur.conf.sample - @if [ ! -f ${PREFIX}/etc/umurmur/umurmur.conf ]; then \ - ${CP} -p ${PREFIX}/etc/umurmur/umurmur.conf.sample ${PREFIX}/etc/umurmur/umurmur.conf; \ - fi + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/umurmur + ${INSTALL_DATA} ${WRKSRC}/umurmur.conf.example ${STAGEDIR}${PREFIX}/etc/umurmur/umurmur.conf.sample -.include +.include -- cgit