diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2013-10-25 22:52:21 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2013-10-25 22:52:21 +0800 |
commit | 41e4b33be8025679317af10de099e26f85666e71 (patch) | |
tree | cecb57f06a554529b3a28ab799173fda627f3c92 | |
parent | d188a0de1fb6c88889a991dcc73d481ff6b7ef1c (diff) | |
download | freebsd-ports-gnome-41e4b33be8025679317af10de099e26f85666e71.tar.gz freebsd-ports-gnome-41e4b33be8025679317af10de099e26f85666e71.tar.zst freebsd-ports-gnome-41e4b33be8025679317af10de099e26f85666e71.zip |
Support staging.
-rw-r--r-- | audio/adplay/Makefile | 12 | ||||
-rw-r--r-- | audio/modplugplay/Makefile | 8 |
2 files changed, 8 insertions, 12 deletions
diff --git a/audio/adplay/Makefile b/audio/adplay/Makefile index 9ab2cdfa4a53..2eabfd4b9eb0 100644 --- a/audio/adplay/Makefile +++ b/audio/adplay/Makefile @@ -17,7 +17,6 @@ LICENSE= GPLv2 LIB_DEPENDS= adplug:${PORTSDIR}/audio/libadplug -NO_STAGE= yes GNU_CONFIGURE= yes WANT_SDL= yes @@ -29,8 +28,7 @@ LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS+= --sharedstatedir=${DATADIR} -MAN1= adplay.1 -PLIST_FILES= bin/adplay %%DATADIR%%/adplug.db +PLIST_FILES= bin/adplay %%DATADIR%%/adplug.db man/man1/adplay.1.gz PLIST_DIRS= %%DATADIR%% OPTIONS_DEFINE= SDL @@ -49,9 +47,9 @@ post-patch: @${RM} ${WRKSRC}/src/getopt.h do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/adplay ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/doc/adplay.1 ${MANPREFIX}/man/man1 - ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKDIR}/${DBVERSION}/${DBFILE} ${DATADIR} + ${INSTALL_PROGRAM} ${WRKSRC}/src/adplay ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/doc/adplay.1 ${STAGEDIR}${MANPREFIX}/man/man1 + ${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKDIR}/${DBVERSION}/${DBFILE} ${STAGEDIR}${DATADIR} .include <bsd.port.mk> diff --git a/audio/modplugplay/Makefile b/audio/modplugplay/Makefile index 38bb3e0eef6c..0c58ea81a37c 100644 --- a/audio/modplugplay/Makefile +++ b/audio/modplugplay/Makefile @@ -16,9 +16,7 @@ LICENSE= GPLv2 LIB_DEPENDS= modplug.1:${PORTSDIR}/audio/libmodplug -NO_STAGE= yes -MAN1= modplugplay.1 -PLIST_FILES= bin/modplugplay +PLIST_FILES= bin/modplugplay man/man1/modplugplay.1.gz CFLAGS+= -I${LOCALBASE}/include/libmodplug -L${LOCALBASE}/lib LDFLAGS+= -lmodplug @@ -28,7 +26,7 @@ do-build: -o ${WRKSRC}/${PORTNAME} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include <bsd.port.mk> |