diff options
author | danfe <danfe@FreeBSD.org> | 2011-01-11 19:38:37 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2011-01-11 19:38:37 +0800 |
commit | 862c36656a235256ccd61f23a45528fd9407391c (patch) | |
tree | 68e24c56a9543767c5ab90a01b9cbba5ae437e8f | |
parent | aa6a19dc0e6ad224f9c3663a291ad659d9ec4054 (diff) | |
download | freebsd-ports-graphics-862c36656a235256ccd61f23a45528fd9407391c.tar.gz freebsd-ports-graphics-862c36656a235256ccd61f23a45528fd9407391c.tar.zst freebsd-ports-graphics-862c36656a235256ccd61f23a45528fd9407391c.zip |
- Unbreak parallel builds
- Convert pkg-plist into PLIST_FILES and PORTEXAMPLES
- Add LICENSE (GPLv2)
-rw-r--r-- | devel/hp48cc/Makefile | 10 | ||||
-rw-r--r-- | devel/hp48cc/pkg-plist | 16 |
2 files changed, 9 insertions, 17 deletions
diff --git a/devel/hp48cc/Makefile b/devel/hp48cc/Makefile index 89a9f19883c..f6def9d5cab 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 7f726595da2..00000000000 --- 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%% |