pkgsrc/lang/p2c/Makefile

29 lines
683 B
Makefile
Raw Normal View History

# $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
PKGREVISION= 1
1999-01-31 04:47:27 +01:00
CATEGORIES= lang
MASTER_SITES= ftp://csvax.cs.caltech.edu/pub/
EXTRACT_SUFX= .tar.Z
1999-01-31 04:47:27 +01:00
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Pascal to C compiler (translates Pascal to C)
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
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}
.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}
1999-01-31 04:47:27 +01:00
.include "../../mk/bsd.pkg.mk"