mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-07 11:49:40 +00:00
36 lines
909 B
Makefile
36 lines
909 B
Makefile
PORTNAME= mtx
|
|
PORTVERSION= 1.3.12
|
|
PORTREVISION= 1
|
|
CATEGORIES= misc
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-stable/${PORTVERSION}
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Control SCSI media changer devices
|
|
WWW= https://sourceforge.net/projects/mtx/
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= gmake
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
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
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
|
|
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-FreeBSD_14
|
|
.endif
|
|
|
|
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
|
|
# ${REINPLACE_CMD} -e '/false, true/d' \
|
|
# ${WRKSRC}/mtx.h
|
|
|
|
.include <bsd.port.mk>
|