aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-03-17 05:35:11 +0800
committerpawel <pawel@FreeBSD.org>2014-03-17 05:35:11 +0800
commit6bbb8495c33f9193ae6bcd886df872c4b5904906 (patch)
tree44cfd6935cda87d423c910a0a51088fc0d146df2
parentb8be4599b56ea266c4f44267e00098e77c40078d (diff)
downloadfreebsd-ports-gnome-6bbb8495c33f9193ae6bcd886df872c4b5904906.tar.gz
freebsd-ports-gnome-6bbb8495c33f9193ae6bcd886df872c4b5904906.tar.zst
freebsd-ports-gnome-6bbb8495c33f9193ae6bcd886df872c4b5904906.zip
- Fix build on 10+ by respecting CC [1]
- Remove leading article from COMMENT - Make LICENSE more precise - Switch to PLIST_FILES, port installs only 2 files - Strip pgrogram binary - Add support for staging PR: ports/187635 [1] (patch not used) Submitted by: maintainer
-rw-r--r--sysutils/pbimaker/Makefile19
-rw-r--r--sysutils/pbimaker/pkg-plist3
2 files changed, 14 insertions, 8 deletions
diff --git a/sysutils/pbimaker/Makefile b/sysutils/pbimaker/Makefile
index 8d5879cff5e5..6b845b268c2b 100644
--- a/sysutils/pbimaker/Makefile
+++ b/sysutils/pbimaker/Makefile
@@ -3,17 +3,26 @@
PORTNAME= pbimaker
PORTVERSION= 1.3
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= SF/makeapbi/makeapbi/
MAINTAINER= jessefrgsmith@yahoo.ca
-COMMENT= A program to convert ports into PBI modules
+COMMENT= Program to convert ports into PBI modules
-LICENSE= BSD
+LICENSE= BSD3CLAUSE
-NO_COFIGURE= yes
+WRKSRC= ${WRKDIR}/PBIMaker
-WRKSRC= ${WRKDIR}/PBIMaker
+PLIST_FILES= bin/pbimaker \
+ share/pbimaker/defaulticon.png
+PLIST_DIRS= share/pbimaker
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|CC=gcc|CC?=gcc|' \
+ -e 's|PREFIX)/|DESTDIR)$$(&|g' \
+ ${WRKSRC}/Makefile
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/sysutils/pbimaker/pkg-plist b/sysutils/pbimaker/pkg-plist
deleted file mode 100644
index 053c55136984..000000000000
--- a/sysutils/pbimaker/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/pbimaker
-share/pbimaker/defaulticon.png
-@dirrm share/pbimaker