diff options
author | jmmv <jmmv@pkgsrc.org> | 2003-07-02 17:42:11 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2003-07-02 17:42:11 +0000 |
commit | 1b139d8d2e7f697762b0d7e6b9fdb9900b314f07 (patch) | |
tree | a55d63a9b841bac9bf3c5608041c025708260f7c /sysutils/mtoolsfm/Makefile | |
parent | eaf78a998b83bf50459c3d589f3f10b11c1f8d66 (diff) | |
download | pkgsrc-1b139d8d2e7f697762b0d7e6b9fdb9900b314f07.tar.gz |
Honour PKG_SYSCONFDIR. Bump PKGREVISION to 2.
Diffstat (limited to 'sysutils/mtoolsfm/Makefile')
-rw-r--r-- | sysutils/mtoolsfm/Makefile | 15 |
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" |