diff options
author | lth <lth@FreeBSD.org> | 2006-10-03 23:38:18 +0800 |
---|---|---|
committer | lth <lth@FreeBSD.org> | 2006-10-03 23:38:18 +0800 |
commit | 1c6bf9edd3383c445d4ce77fd8b3225cc642308f (patch) | |
tree | 2e4ca8b6808666e78b263b321befc7b8b9b7df9c /audio | |
parent | aca1afbfc4aad0559ac8de7640fc3d1f9f6de66b (diff) | |
download | freebsd-ports-gnome-1c6bf9edd3383c445d4ce77fd8b3225cc642308f.tar.gz freebsd-ports-gnome-1c6bf9edd3383c445d4ce77fd8b3225cc642308f.tar.zst freebsd-ports-gnome-1c6bf9edd3383c445d4ce77fd8b3225cc642308f.zip |
Fix variable substitutions
Reported by: arved
Diffstat (limited to 'audio')
-rw-r--r-- | audio/daapd/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/audio/daapd/Makefile b/audio/daapd/Makefile index 6f6949b4ec3c..84d4a8ec4ca0 100644 --- a/audio/daapd/Makefile +++ b/audio/daapd/Makefile @@ -7,6 +7,7 @@ PORTNAME= daapd PORTVERSION= 0.2.4b +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= http://www.deleet.de/projekte/daap/daapd/ EXTRACT_SUFX= .tgz @@ -35,9 +36,8 @@ DAAPD_GROUP= daapd LOGDIR= /var/log CACHE= /var/db/daapd.cache -FILES_SUB= USER=${DAAPD_USER} GROUP=${DAAPD_GROUP} \ - PREFIX=${PREFIX} LOGDIR=${LOGDIR} DOCSDIR=${DOCSDIR} \ - LOCALBASE=${LOCALBASE} CACHE=${CACHE} RC_SUBR=${RC_SUBR} +SUB_LIST+= USER=${DAAPD_USER} GROUP=${DAAPD_GROUP} \ + LOGDIR=${LOGDIR} CACHE=${CACHE} MAKE_ENV+= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} PTHREAD_LIBS=${PTHREAD_LIBS} OPTIONS+= HOWL "Use howl for Zeroconf/Rendezvous" on @@ -56,22 +56,22 @@ MAKE_ENV+= MPEG4_ENABLE=1 .endif post-patch: - @${REINPLACE_CMD} ${FILES_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ + @${REINPLACE_CMD} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ ${WRKSRC}/${MAKEFILE} \ ${WRKSRC}/README \ ${WRKSRC}/daapd.cc \ ${WRKSRC}/daapd.8 pre-install: - @${SED} ${FILES_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ + @${SED} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ ${PKGDIR}/pkg-install > ${PKGINSTALL} @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL post-install: @${INSTALL_DATA} ${WRKSRC}/daapd-example.conf ${PREFIX}/etc/daapd.conf.sample - @${SED} ${FILES_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ + @${SED} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ ${PKGDIR}/pkg-deinstall > ${PKGDEINSTALL} - @${SED} ${FILES_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ + @${SED} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ ${PKGDIR}/pkg-message > ${PKGMESSAGE} .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} |