aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-12-27 01:01:25 +0800
committerbapt <bapt@FreeBSD.org>2013-12-27 01:01:25 +0800
commitc07ba459def58331d0043d13ab95ee7f2af29b32 (patch)
tree83d154b8630b26971a1f6f353cb7b3e37863a0c1 /archivers
parent072c88b59e0307e777913dabd0bf1d68f9c95ee7 (diff)
downloadfreebsd-ports-gnome-c07ba459def58331d0043d13ab95ee7f2af29b32.tar.gz
freebsd-ports-gnome-c07ba459def58331d0043d13ab95ee7f2af29b32.tar.zst
freebsd-ports-gnome-c07ba459def58331d0043d13ab95ee7f2af29b32.zip
Support stage
Diffstat (limited to 'archivers')
-rw-r--r--archivers/xdms/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/archivers/xdms/Makefile b/archivers/xdms/Makefile
index afc1faf862d6..1845333e3e88 100644
--- a/archivers/xdms/Makefile
+++ b/archivers/xdms/Makefile
@@ -11,7 +11,6 @@ COMMENT= Tool for decompressing Amiga DMS files
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
USE_BZIP2= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
@@ -22,18 +21,14 @@ USE_CSTD= gnu89
PORTDOCS= xdms.txt
PLIST_FILES= bin/xdms
-.include <bsd.port.options.mk>
-
post-patch:
${REINPLACE_CMD} "s@-O2 -Wall@$${CFLAGS} -Wall@g" ${WRKSRC}/src/Makefile.in
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/xdms ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/xdms ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docs in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>