diff options
author | bapt <bapt@FreeBSD.org> | 2014-02-06 07:35:07 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-02-06 07:35:07 +0800 |
commit | 71b299f2ee28ae636262b0a7c8b12f1ee50c4ee9 (patch) | |
tree | 991284bb37387a99a0708a1aa46bed7d1ad56398 /audio/umurmur | |
parent | 5388e534e82d134be7ae1f2927cd333ddfc0765f (diff) | |
download | freebsd-ports-gnome-71b299f2ee28ae636262b0a7c8b12f1ee50c4ee9.tar.gz freebsd-ports-gnome-71b299f2ee28ae636262b0a7c8b12f1ee50c4ee9.tar.zst freebsd-ports-gnome-71b299f2ee28ae636262b0a7c8b12f1ee50c4ee9.zip |
Support stage
Diffstat (limited to 'audio/umurmur')
-rw-r--r-- | audio/umurmur/Makefile | 15 |
1 files 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 <bsd.port.pre.mk> - -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 <bsd.port.post.mk> +.include <bsd.port.mk> |