2011-12-18 17:54:08 +01:00
|
|
|
# $NetBSD: Makefile,v 1.13 2011/12/18 16:54:08 dholland Exp $
|
1999-01-31 04:47:27 +01:00
|
|
|
|
|
|
|
DISTNAME= p2c-1.20
|
2011-12-18 17:54:08 +01:00
|
|
|
PKGREVISION= 1
|
1999-01-31 04:47:27 +01:00
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= ftp://csvax.cs.caltech.edu/pub/
|
2007-02-22 20:26:05 +01:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
1999-01-31 04:47:27 +01:00
|
|
|
|
2009-08-20 17:24:58 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2001-02-17 10:06:56 +01:00
|
|
|
COMMENT= Pascal to C compiler (translates Pascal to C)
|
2011-12-16 18:18:52 +01:00
|
|
|
LICENSE= gnu-gpl-v1
|
1999-01-31 04:47:27 +01:00
|
|
|
|
2009-09-03 15:14:10 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/src
|
2002-09-23 11:37:50 +02:00
|
|
|
CFLAGS+= -Dunix=1
|
1999-01-31 04:47:27 +01:00
|
|
|
|
2009-09-03 15:14:10 +02:00
|
|
|
INSTALL_MAKE_FLAGS= PREFIX=${DESTDIR}${PREFIX}
|
|
|
|
|
2011-12-16 18:18:52 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
post-extract:
|
2011-12-18 17:54:08 +01:00
|
|
|
# The distfile contains a number of world-writable files, including
|
|
|
|
# an entry for '.' that causes pkgsrc to become upset. Fix it.
|
2011-12-16 18:18:52 +01:00
|
|
|
${CHMOD} 755 ${WRKDIR}
|
2011-12-18 17:54:08 +01:00
|
|
|
${CHMOD} -R o-w ${WRKDIR}
|
2011-12-16 18:18:52 +01:00
|
|
|
|
1999-01-31 04:47:27 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|