From 862c36656a235256ccd61f23a45528fd9407391c Mon Sep 17 00:00:00 2001 From: danfe Date: Tue, 11 Jan 2011 11:38:37 +0000 Subject: - Unbreak parallel builds - Convert pkg-plist into PLIST_FILES and PORTEXAMPLES - Add LICENSE (GPLv2) --- devel/hp48cc/Makefile | 10 +++++++++- devel/hp48cc/pkg-plist | 16 ---------------- 2 files changed, 9 insertions(+), 17 deletions(-) delete mode 100644 devel/hp48cc/pkg-plist (limited to 'devel') diff --git a/devel/hp48cc/Makefile b/devel/hp48cc/Makefile index 89a9f19883cb..f6def9d5cab8 100644 --- a/devel/hp48cc/Makefile +++ b/devel/hp48cc/Makefile @@ -14,12 +14,20 @@ MASTER_SITES= http://www.sigala.it/sandro/files/ MAINTAINER= danfe@FreeBSD.org COMMENT= C-like compiler that translates input code to the HP48 RPN language +LICENSE= GPLv2 + USE_BISON= build GNU_CONFIGURE= yes MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" -MAKE_JOBS_UNSAFE= yes MAN1= ${PORTNAME}.1 +PLIST_FILES= bin/${PORTNAME} +PORTEXAMPLES= * + +post-patch: +# Fix the Makefile to unbreak parallel builds + @${REINPLACE_CMD} -e 's,(YACC),& -o parser.c, ; \ + s,(LEX),& -olexer.c, ; /mv/d' ${WRKSRC}/src/Makefile.in post-install: .if !defined(NOPORTDOCS) diff --git a/devel/hp48cc/pkg-plist b/devel/hp48cc/pkg-plist deleted file mode 100644 index 7f726595da2a..000000000000 --- a/devel/hp48cc/pkg-plist +++ /dev/null @@ -1,16 +0,0 @@ -bin/hp48cc -%%PORTDOCS%%%%EXAMPLESDIR%%/README -%%PORTDOCS%%%%EXAMPLESDIR%%/accuracy.hpc -%%PORTDOCS%%%%EXAMPLESDIR%%/astro.hpc -%%PORTDOCS%%%%EXAMPLESDIR%%/fact.hpc -%%PORTDOCS%%%%EXAMPLESDIR%%/gcd.hpc -%%PORTDOCS%%%%EXAMPLESDIR%%/hello.hpc -%%PORTDOCS%%%%EXAMPLESDIR%%/inform.hpc -%%PORTDOCS%%%%EXAMPLESDIR%%/pi1.hpc -%%PORTDOCS%%%%EXAMPLESDIR%%/pi2.hpc -%%PORTDOCS%%%%EXAMPLESDIR%%/sort.hpc -%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial.hpc -%%PORTDOCS%%%%EXAMPLESDIR%%/xcos.hpc -%%PORTDOCS%%%%EXAMPLESDIR%%/xexp.hpc -%%PORTDOCS%%%%EXAMPLESDIR%%/xsin.hpc -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% -- cgit