aboutsummaryrefslogtreecommitdiffstats
path: root/devel/dxa65
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-27 22:01:14 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-27 22:01:14 +0800
commit50aeae5a27024a3786ea2c03b2bdb389d8e4592c (patch)
tree15ad8938ff14a6eb2560a130ec9e02ec2b97d229 /devel/dxa65
parent0a600cf59bd54ff45047ced202a80f8ebffc82d3 (diff)
downloadfreebsd-ports-gnome-50aeae5a27024a3786ea2c03b2bdb389d8e4592c.tar.gz
freebsd-ports-gnome-50aeae5a27024a3786ea2c03b2bdb389d8e4592c.tar.zst
freebsd-ports-gnome-50aeae5a27024a3786ea2c03b2bdb389d8e4592c.zip
Support staging
Diffstat (limited to 'devel/dxa65')
-rw-r--r--devel/dxa65/Makefile21
1 files changed, 6 insertions, 15 deletions
diff --git a/devel/dxa65/Makefile b/devel/dxa65/Makefile
index 0d3a00e80a6a..ca13e400d276 100644
--- a/devel/dxa65/Makefile
+++ b/devel/dxa65/Makefile
@@ -12,28 +12,19 @@ COMMENT= Disassembler for MOS 6502 and compatible CPUs
OPTIONS_DEFINE= DOCS
-USES= gmake
+USES= gmake
-MAN1= dxa.1
-MLINKS= dxa.1 dxa65.1
-
-PLIST_FILES= bin/dxa65
+PLIST_FILES= bin/dxa65 man/man1/dxa.1.gz
PORTDOCS= INSTALL
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
post-patch-script:
@${REINPLACE_CMD} 's|CC = |CC ?= |g' ${WRKSRC}/Makefile
@${REINPLACE_CMD} 's|CFLAGS = |CFLAGS ?= |g' ${WRKSRC}/Makefile
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/dxa ${PREFIX}/bin/dxa65
- ${INSTALL_MAN} ${WRKSRC}/dxa.1 ${MAN1PREFIX}/man/man1
-
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/dxa ${STAGEDIR}${PREFIX}/bin/dxa65
+ ${INSTALL_MAN} ${WRKSRC}/dxa.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/INSTALL ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>