blob: fbdbe3a5f96ebdd2054b64c1de35a3f854f0c855 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $NetBSD: Makefile,v 1.17 2000/01/04 17:49:41 bouyer Exp $
#
DISTNAME= mtools-3.9.5
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.tux.org/pub/tux/knaff/mtools/
PATCH_SITES= ftp://ftp.tux.org/pub/tux/knaff/mtools/
PATCHFILES= mtools-3.9.5-0905.diff.gz
MAINTAINER= is@netbsd.org
HOMEPAGE= http://www.tux.org/pub/knaff/mtools/
GNU_CONFIGURE= yes
USE_GMAKE= yes
CPPFLAGS+= -I${X11BASE}/include
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
INFO_FILES= mtools.info
PLIST_SRC= ${WRKDIR}/PLIST
pre-patch:
@${LN} -s . ${WRKSRC}/mtools
post-patch:
@${RM} ${WRKSRC}/mtools
post-install:
@if [ -x ${PREFIX}/bin/floppyd ]; then \
${CP} ${PKGDIR}/PLIST ${PLIST_SRC}; \
else \
${ECHO} ${RM} -f ${PREFIX}/man/man1/floppyd.1; \
${RM} -f ${PREFIX}/man/man1/floppyd.1; \
${GREP} -v /floppyd ${PKGDIR}/PLIST >${PLIST_SRC}; \
fi \
.include "../../mk/bsd.pkg.mk"
|