Date: Wed, 5 Feb 2014 23:35:08 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342900 - head/audio/umurmur Message-ID: <201402052335.s15NZ8wp005452@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Wed Feb 5 23:35:07 2014 New Revision: 342900 URL: http://svnweb.freebsd.org/changeset/ports/342900 QAT: https://qat.redports.org/buildarchive/r342900/ Log: Support stage Modified: head/audio/umurmur/Makefile Modified: head/audio/umurmur/Makefile ============================================================================== --- head/audio/umurmur/Makefile Wed Feb 5 23:34:22 2014 (r342899) +++ head/audio/umurmur/Makefile Wed Feb 5 23:35:07 2014 (r342900) @@ -12,7 +12,6 @@ COMMENT= Minimalistic Murmur (Mumble ser 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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402052335.s15NZ8wp005452>