aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/picoc/Makefile6
-rw-r--r--lang/picoc/distinfo5
2 files changed, 6 insertions, 5 deletions
diff --git a/lang/picoc/Makefile b/lang/picoc/Makefile
index 089f55bf33fb..d9d9b78309a7 100644
--- a/lang/picoc/Makefile
+++ b/lang/picoc/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= picoc
-PORTVERSION= 1.0
-PORTREVISION= 1
+PORTVERSION= 2.1
CATEGORIES= lang devel
MASTER_SITES= GOOGLE_CODE
@@ -17,9 +16,12 @@ COMMENT= Very small C interpreter for scripting
LICENSE= BSD
USE_BZIP2= yes
+USE_GMAKE= yes
PLIST_FILES= bin/picoc
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
post-patch:
@${REINPLACE_CMD} -e "/-include/d" \
-e "s/^CFLAGS=.*/CFLAGS=${CFLAGS} -DUNIX_HOST/" \
diff --git a/lang/picoc/distinfo b/lang/picoc/distinfo
index a1adc9b03624..5426acc7dd43 100644
--- a/lang/picoc/distinfo
+++ b/lang/picoc/distinfo
@@ -1,3 +1,2 @@
-MD5 (picoc-1.0.tar.bz2) = 7af179f5f9351228df8a34ed7add436a
-SHA256 (picoc-1.0.tar.bz2) = ba20d866f1c1645fb507183c9a653631d9ba8bdc67523236d9f5f7a4c9922edc
-SIZE (picoc-1.0.tar.bz2) = 72095
+SHA256 (picoc-2.1.tar.bz2) = bfed355fab810b337ccfa9e3215679d0b9886c00d9cb5e691f7e7363fd388b7e
+SIZE (picoc-2.1.tar.bz2) = 69991