use ${FILESDIR} instead of hardcoding 'files/'

This commit is contained in:
jasper 2014-04-20 10:00:21 +00:00
parent cf8dbe57fd
commit db98266d5f
9 changed files with 18 additions and 18 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.48 2014/03/10 12:02:59 naddy Exp $
# $OpenBSD: Makefile,v 1.49 2014/04/20 10:00:21 jasper Exp $
COMMENT= extract, list & test files in a ZIP archive
@ -33,6 +33,6 @@ post-install:
do-test:
cd ${WRKBUILD} && ./unzip -x -a -o testmake.zip
cmp -s ${WRKBUILD}/notes files/notes
cmp -s ${WRKBUILD}/notes ${FILESDIR}/notes
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.21 2013/10/11 23:48:04 naddy Exp $
# $OpenBSD: Makefile,v 1.22 2014/04/20 10:00:21 jasper Exp $
COMMENT= wm-dockapp; sound mixer
@ -21,6 +21,6 @@ NO_TEST= Yes
do-install:
${INSTALL_PROGRAM_DIR} ${PREFIX}/GNUstep/Apps/Mixer.app
${INSTALL_PROGRAM} ${WRKBUILD}/Mixer.app ${PREFIX}/GNUstep/Apps/Mixer.app/Mixer
${INSTALL_MAN} files/Mixer.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${FILESDIR}/Mixer.1 ${PREFIX}/man/man1
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.8 2013/03/10 22:55:03 espie Exp $
# $OpenBSD: Makefile,v 1.9 2014/04/20 10:00:21 jasper Exp $
COMMENT= creates playlists from directory trees
@ -26,6 +26,6 @@ pre-patch:
@mv ${WRKSRC}/mkplaylist.py ${WRKSRC}/mkplaylist
post-install:
${INSTALL_MAN} files/mkplaylist.1 ${PREFIX}/man/man1/
${INSTALL_MAN} ${FILESDIR}/mkplaylist.1 ${PREFIX}/man/man1/
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.31 2013/12/23 15:07:50 espie Exp $
# $OpenBSD: Makefile,v 1.32 2014/04/20 10:00:21 jasper Exp $
COMMENT = MOD player
DISTNAME = tracker-5.3
@ -30,7 +30,7 @@ NO_TEST = Yes
post-extract:
@mkdir -p ${WRKSRC}/Arch/OpenBSD
@cp files/{audio.c,config.h} ${WRKSRC}/Arch/OpenBSD
@cp ${FILESDIR}/{audio.c,config.h} ${WRKSRC}/Arch/OpenBSD
pre-install:
${INSTALL_DATA_DIR} ${DESTDIR}${SYSCONFDIR}

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.19 2013/03/10 22:55:06 espie Exp $
# $OpenBSD: Makefile,v 1.20 2014/04/20 10:00:21 jasper Exp $
COMMENT= premier dockable radio tuner
@ -31,7 +31,7 @@ ONLY_FOR_ARCHS= i386
WRKDIST= ${WRKDIR}/wmtune-1.0.1-combined/
post-extract:
@cp files/wmtune.1 ${WRKDIST}
@cp ${FILESDIR}/wmtune.1 ${WRKDIST}
NO_TEST= Yes

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.19 2013/03/11 11:10:56 espie Exp $
# $OpenBSD: Makefile,v 1.20 2014/04/20 10:00:21 jasper Exp $
COMMENT= wm-dockapp; shows photos and execute commands on that photo
@ -23,6 +23,6 @@ WRKSRC= ${WRKDIST}/wmphoto
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/wmphoto ${PREFIX}/bin
${INSTALL_MAN} files/wmphoto.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${FILESDIR}/wmphoto.1 ${PREFIX}/man/man1
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.20 2013/05/06 11:57:09 jasper Exp $
# $OpenBSD: Makefile,v 1.21 2014/04/20 10:00:21 jasper Exp $
COMMENT= client for anonymous remailing
@ -30,7 +30,7 @@ MIXMASTER_FILES=${WRKDIST}/conf/* ${WRKDIST}/README \
${WRKDIR}/mixmaster-update.pl ${WRKDIR}/allpingers.txt
post-patch:
@cp files/Makefile ${WRKSRC}
@cp ${FILESDIR}/Makefile ${WRKSRC}
pre-install:
@perl -pi -e "s,/etc,${SYSCONFDIR},g" ${WRKDIR}/mixmaster-update.pl

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.13 2013/10/24 15:18:00 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.14 2014/04/20 10:00:21 jasper Exp $
COMMENT= Atmel/NWN wireless access point configuration tools
@ -28,6 +28,6 @@ MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/config
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/systrace/
${INSTALL_DATA} files/bin_ap_config ${PREFIX}/share/examples/systrace/
${INSTALL_DATA} ${FILESDIR}/bin_ap_config ${PREFIX}/share/examples/systrace/
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.169 2014/04/17 16:27:53 robert Exp $
# $OpenBSD: Makefile,v 1.170 2014/04/20 10:00:21 jasper Exp $
ONLY_FOR_ARCHS= i386 amd64
DPB_PROPERTIES= parallel
@ -153,7 +153,7 @@ pre-configure:
${WRKSRC}/third_party/ffmpeg/chromium/config/Chromium/openbsd/${_arch}/libavutil
.endfor
@mkdir -p ${WRKSRC}/media/audio/sndio
@cp files/sndio_output.{cc,h} ${WRKSRC}/media/audio/sndio
@cp ${FILESDIR}/sndio_output.{cc,h} ${WRKSRC}/media/audio/sndio
# gyp_chromium generates all the Makefiles from gyp
do-configure: