diff options
Diffstat (limited to 'filesystems/mtools/Makefile')
-rw-r--r-- | filesystems/mtools/Makefile | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/filesystems/mtools/Makefile b/filesystems/mtools/Makefile index 0acfa890d644..38f12649be0f 100644 --- a/filesystems/mtools/Makefile +++ b/filesystems/mtools/Makefile @@ -1,5 +1,5 @@ PORTNAME= mtools -PORTVERSION= 4.0.47 +PORTVERSION= 4.0.48 CATEGORIES= filesystems emulators MASTER_SITES= GNU @@ -7,7 +7,7 @@ MAINTAINER= skreuzer@FreeBSD.org COMMENT= Tools for manipulating MS-DOS disks and images WWW= https://www.gnu.org/software/mtools/intro.html -LICENSE= GPLv3 +LICENSE= GPLv3+ CONFLICTS_INSTALL= multimarkdown @@ -19,8 +19,9 @@ CONFIGURE_ARGS= --enable-xdf SUB_FILES= pkg-message INFO= mtools +PORTDOCS= NEWS README Release.notes -OPTIONS_DEFINE= ICONV X11 +OPTIONS_DEFINE= DOCS ICONV X11 OPTIONS_DEFAULT=ICONV X11 .include <bsd.port.options.mk> @@ -45,11 +46,16 @@ MAKE_ENV+= WITHOUT_X11=yes .endif post-patch: - @${REINPLACE_CMD} -e '/LOCAL_CONF_FILE/s,/etc/default,${LOCALBASE}/etc,' \ + @${REINPLACE_CMD} -e '/LOCAL_CONF_FILE/s,/etc/default,${PREFIX}/etc,' \ ${WRKSRC}/mtoolsPaths.h @${REINPLACE_CMD} -e '/^SAMPLE FILE/s,^,#,' ${WRKSRC}/mtools.conf post-install: - ${INSTALL_DATA} ${WRKSRC}/mtools.conf ${STAGEDIR}${PREFIX}/etc/mtools.conf.sample + ${INSTALL_DATA} ${WRKSRC}/mtools.conf \ + ${STAGEDIR}${PREFIX}/etc/mtools.conf.sample + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |