diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-02-05 23:35:07 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-02-05 23:35:07 +0000 |
commit | 509c2a45ee06b252e8b6a3d5cbad526992adabb7 (patch) | |
tree | 991284bb37387a99a0708a1aa46bed7d1ad56398 /audio/umurmur | |
parent | 9bb2e8eda8d36b26016fa5a14223da4a0a9e2e68 (diff) | |
download | ports-509c2a45ee06b252e8b6a3d5cbad526992adabb7.tar.gz ports-509c2a45ee06b252e8b6a3d5cbad526992adabb7.zip |
Notes
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> |