aboutsummaryrefslogtreecommitdiff
path: root/devel/hp48cc
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2011-01-11 11:38:37 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2011-01-11 11:38:37 +0000
commit2db543118cf7582c879f3a5c62252f576685b1cd (patch)
tree83680a6614804f52c8bdd98cd0a18560ada243f3 /devel/hp48cc
parent0523f584e6c81f07c5b05c044f1a14e79ff768d2 (diff)
downloadports-2db543118cf7582c879f3a5c62252f576685b1cd.tar.gz
ports-2db543118cf7582c879f3a5c62252f576685b1cd.zip
Notes
Diffstat (limited to 'devel/hp48cc')
-rw-r--r--devel/hp48cc/Makefile10
-rw-r--r--devel/hp48cc/pkg-plist16
2 files changed, 9 insertions, 17 deletions
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%%