svn commit: r345292 - head/emulators/mtools

Martin Wilke miwi at FreeBSD.org
Fri Feb 21 01:55:21 UTC 2014


Author: miwi
Date: Fri Feb 21 01:55:20 2014
New Revision: 345292
URL: http://svnweb.freebsd.org/changeset/ports/345292
QAT: https://qat.redports.org/buildarchive/r345292/

Log:
  - Stage support

Modified:
  head/emulators/mtools/Makefile
  head/emulators/mtools/pkg-plist

Modified: head/emulators/mtools/Makefile
==============================================================================
--- head/emulators/mtools/Makefile	Fri Feb 21 01:55:10 2014	(r345291)
+++ head/emulators/mtools/Makefile	Fri Feb 21 01:55:20 2014	(r345292)
@@ -21,18 +21,11 @@ CONFIGURE_ARGS=	--enable-xdf
 
 SUB_FILES=	pkg-message
 
-MAN1=		mattrib.1 mbadblocks.1 mcat.1 mcd.1 mclasserase.1 mcopy.1 \
-		mdel.1 mdeltree.1 mdir.1 mdu.1 mformat.1 mkmanifest.1 \
-		minfo.1 mlabel.1 mmd.1 mmount.1 mmove.1 mpartition.1 \
-		mrd.1 mren.1 mshowfat.1 mtoolstest.1 mtools.1 mtype.1 \
-		mzip.1
-MAN5=		mtools.5
 INFO=		mtools
 
 OPTIONS_DEFINE=	ICONV X11
 OPTIONS_DEFAULT=ICONV X11
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MICONV}
@@ -46,7 +39,6 @@ CONFIGURE_ENV+=	ac_cv_header_iconv_h=no
 .if ${PORT_OPTIONS:MX11}
 USE_XORG=	x11 sm ice xau
 PLIST_SUB=	X11=""
-MAN1+=		floppyd.1 floppyd_installtest.1
 .else
 CONFIGURE_ARGS+=	--without-x
 PLIST_SUB=	X11="@comment "
@@ -65,10 +57,9 @@ post-patch:
 .endfor
 
 post-install:
-	${INSTALL_DATA} ${WRKSRC}/mtools.conf ${PREFIX}/etc/mtools.conf.sample
-	@if [ ! -f ${PREFIX}/etc/mtools.conf ]; then \
-		cd ${PREFIX}/etc && ${CP} -p mtools.conf.sample mtools.conf; \
+	${INSTALL_DATA} ${WRKSRC}/mtools.conf ${STAGEDIR}${PREFIX}/etc/mtools.conf.sample
+	@if [ ! -f ${STAGEDIR}${PREFIX}/etc/mtools.conf ]; then \
+		cd ${STAGEDIR}${PREFIX}/etc && ${CP} -p mtools.conf.sample mtools.conf; \
 	fi
-	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>

Modified: head/emulators/mtools/pkg-plist
==============================================================================
--- head/emulators/mtools/pkg-plist	Fri Feb 21 01:55:10 2014	(r345291)
+++ head/emulators/mtools/pkg-plist	Fri Feb 21 01:55:20 2014	(r345292)
@@ -29,6 +29,34 @@ bin/mtoolstest
 bin/mtype
 bin/mxtar
 bin/mzip
+man/man1/floppyd.1.gz
+man/man1/floppyd_installtest.1.gz
+man/man1/mattrib.1.gz
+man/man1/mbadblocks.1.gz
+man/man1/mcat.1.gz
+man/man1/mcd.1.gz
+man/man1/mclasserase.1.gz
+man/man1/mcopy.1.gz
+man/man1/mdel.1.gz
+man/man1/mdeltree.1.gz
+man/man1/mdir.1.gz
+man/man1/mdu.1.gz
+man/man1/mformat.1.gz
+man/man1/minfo.1.gz
+man/man1/mkmanifest.1.gz
+man/man1/mlabel.1.gz
+man/man1/mmd.1.gz
+man/man1/mmount.1.gz
+man/man1/mmove.1.gz
+man/man1/mpartition.1.gz
+man/man1/mrd.1.gz
+man/man1/mren.1.gz
+man/man1/mshowfat.1.gz
+man/man1/mtools.1.gz
+man/man1/mtoolstest.1.gz
+man/man1/mtype.1.gz
+man/man1/mzip.1.gz
+man/man5/mtools.5.gz
 @unexec if cmp -s %D/etc/mtools.conf %D/etc/mtools.conf.sample; then rm -f %D/etc/mtools.conf; fi
 etc/mtools.conf.sample
 @exec if [ ! -f %D/etc/mtools.conf ]; then cp %B/%f %D/etc/mtools.conf; fi


More information about the svn-ports-all mailing list