aboutsummaryrefslogtreecommitdiff
path: root/sysutils/pbimaker
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-03-16 21:35:11 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-03-16 21:35:11 +0000
commit82bfe375c39abf237653bb74b9dd0dbc0e5195b7 (patch)
tree44cfd6935cda87d423c910a0a51088fc0d146df2 /sysutils/pbimaker
parentc4274e881ffc5dcdda862ebff64187a22141eae4 (diff)
downloadports-82bfe375c39abf237653bb74b9dd0dbc0e5195b7.tar.gz
ports-82bfe375c39abf237653bb74b9dd0dbc0e5195b7.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
Notes
Notes: svn path=/head/; revision=348434
Diffstat (limited to 'sysutils/pbimaker')
-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