svn commit: r356567 - head/misc/mtx

Martin Wilke miwi at FreeBSD.org
Thu Jun 5 01:42:06 UTC 2014


Author: miwi
Date: Thu Jun  5 01:42:05 2014
New Revision: 356567
URL: http://svnweb.freebsd.org/changeset/ports/356567
QAT: https://qat.redports.org/buildarchive/r356567/

Log:
  - Stage support
  
  PR:		190533
  Submitted by:	maintaine

Modified:
  head/misc/mtx/Makefile

Modified: head/misc/mtx/Makefile
==============================================================================
--- head/misc/mtx/Makefile	Thu Jun  5 01:38:33 2014	(r356566)
+++ head/misc/mtx/Makefile	Thu Jun  5 01:42:05 2014	(r356567)
@@ -3,16 +3,25 @@
 
 PORTNAME=	mtx
 PORTVERSION=	1.3.12
+PORTREVISION=	1
 CATEGORIES=	misc
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-stable/${PORTVERSION}
 
 MAINTAINER=	5u623l20 at gmail.com
 COMMENT=	Control SCSI media changer devices
 
+LICENSE=	GPLv2
+
 USES=		gmake
 GNU_CONFIGURE=	yes
-MAN1=		loaderinfo.1 mtx.1 tapeinfo.1 scsitape.1 scsieject.1
-PLIST_FILES=	sbin/mtx sbin/tapeinfo sbin/loaderinfo sbin/scsitape sbin/scsieject
+PLIST_FILES=	sbin/mtx sbin/tapeinfo sbin/loaderinfo sbin/scsitape sbin/scsieject \
+		man/man1/loaderinfo.1.gz man/man1/mtx.1.gz man/man1/tapeinfo.1.gz \
+		man/man1/scsitape.1.gz man/man1/scsieject.1.gz
+
+post-patch:
+	${REINPLACE_CMD} -e 's|@prefix@|${STAGEDIR}${PREFIX}|g' \
+		${WRKSRC}/Makefile.in
+	${REINPLACE_CMD} -e 's|@mandir@|${STAGEDIR}${PREFIX}/man|g' \
+		${WRKSRC}/Makefile.in
 
-NO_STAGE=	yes
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list