summaryrefslogtreecommitdiff
path: root/sysutils/mtoolsfm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/mtoolsfm/Makefile')
-rw-r--r--sysutils/mtoolsfm/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/sysutils/mtoolsfm/Makefile b/sysutils/mtoolsfm/Makefile
index 072914d6ab2..f444d39ba05 100644
--- a/sysutils/mtoolsfm/Makefile
+++ b/sysutils/mtoolsfm/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.4 2003/05/05 19:05:19 jmmv Exp $
+# $NetBSD: Makefile,v 1.5 2003/07/02 17:42:11 jmmv Exp $
#
DISTNAME= MToolsFM-1.9-3
PKGNAME= mtoolsfm-1.9.3
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://www.core-coutainville.org/MToolsFM/archive/SOURCES/
@@ -14,8 +14,17 @@ COMMENT= Easy MS-DOS disk access without learning MS-DOS commands
DEPENDS+= mtools>=3.9.7:../../sysutils/mtools
USE_BUILDLINK2= yes
+USE_PKGINSTALL= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-conffile=${PREFIX}/etc/mtoolsfm.conf
+CONFIGURE_ARGS+= --with-conffile=${PKG_SYSCONFDIR}/mtoolsfm.conf
+
+post-extract:
+ cd ${WRKSRC} && ${MV} MToolsFM.1 MToolsFM.1.in
+
+pre-configure:
+ cd ${WRKSRC} && ${SED} \
+ -e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g' \
+ < MToolsFM.1.in > MToolsFM.1
.include "../../x11/gtk/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"