aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-04-05 02:30:42 +0800
committerbapt <bapt@FreeBSD.org>2014-04-05 02:30:42 +0800
commitbdb5ef24a934643535e793017ff91397d03c06dd (patch)
treec974e6d0f77b633a50057a75e58dcae3958051b9 /sysutils
parentf4ae12c7a695880a15cf21380825b982683daab0 (diff)
downloadfreebsd-ports-gnome-bdb5ef24a934643535e793017ff91397d03c06dd.tar.gz
freebsd-ports-gnome-bdb5ef24a934643535e793017ff91397d03c06dd.tar.zst
freebsd-ports-gnome-bdb5ef24a934643535e793017ff91397d03c06dd.zip
Support stage
Change license to ISCL which it is
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/dt/Makefile29
1 files changed, 14 insertions, 15 deletions
diff --git a/sysutils/dt/Makefile b/sysutils/dt/Makefile
index 4b1be9b4634a..a18b9722270f 100644
--- a/sysutils/dt/Makefile
+++ b/sysutils/dt/Makefile
@@ -11,30 +11,29 @@ DISTNAME= ${PORTNAME}-source
MAINTAINER= itetcu@FreeBSD.org
COMMENT= Data Test Program - disk/tape error diagnostic tool
+OPTIONS_DEFINE= DOCS
+
WRKSRC= ${WRKDIR}/dt.d
MAKEFILE= Makefile.freebsd
ALL_TARGET= dt
-LICENSE= BSD
+LICENSE= ISCL
PORTDOCS= README.1st ToDoList WhatsNew-* dt-UsersGuide.pdf dt-Overview.txt
-NO_STAGE= yes
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/dt ${PREFIX}/sbin
- ${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/data/pattern_* ${DATADIR}
- ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/dt ${STAGEDIR}${PREFIX}/sbin
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/data/pattern_* ${STAGEDIR}${DATADIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for script in DiskTests.ksh butterfly.ksh butterfly_file.ksh dt_noprog_script.ksh \
dta dtc dtf dtr dts dtt dtw trigger-AIX.ksh
- ${INSTALL_SCRIPT} ${WRKSRC}/Scripts/${script} ${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/Scripts/${script} ${STAGEDIR}${EXAMPLESDIR}
.endfor
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.1st ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/ToDoList ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/WhatsNewFiles/WhatsNew-* ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/Documentation/dt-UsersGuide.pdf ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/Documentation/dt.help ${DOCSDIR}/dt-Overview.txt
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.1st \
+ ${WRKSRC}/ToDoList \
+ ${WRKSRC}/WhatsNewFiles/WhatsNew-* \
+ ${WRKSRC}/Documentation/dt-UsersGuide.pdf ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/Documentation/dt.help ${STAGEDIR}${DOCSDIR}/dt-Overview.txt
.include <bsd.port.mk>