1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

- 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
This commit is contained in:
Pawel Pekala 2014-03-16 21:35:11 +00:00
parent c4274e881f
commit 82bfe375c3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348434
2 changed files with 14 additions and 8 deletions

View File

@ -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>

View File

@ -1,3 +0,0 @@
bin/pbimaker
share/pbimaker/defaulticon.png
@dirrm share/pbimaker