blob: 0323e18830a1899c5994b0a28fc285b88f6e445e (
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
|
# $NetBSD: Makefile,v 1.13 2011/12/18 16:54:08 dholland Exp $
DISTNAME= p2c-1.20
PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ftp://csvax.cs.caltech.edu/pub/
EXTRACT_SUFX= .tar.Z
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Pascal to C compiler (translates Pascal to C)
LICENSE= gnu-gpl-v1
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/src
CFLAGS+= -Dunix=1
INSTALL_MAKE_FLAGS= PREFIX=${DESTDIR}${PREFIX}
.include "../../mk/bsd.prefs.mk"
post-extract:
# The distfile contains a number of world-writable files, including
# an entry for '.' that causes pkgsrc to become upset. Fix it.
${CHMOD} 755 ${WRKDIR}
${CHMOD} -R o-w ${WRKDIR}
.include "../../mk/bsd.pkg.mk"
|