freebsd-ports/sysutils/pbimaker/Makefile
Pawel Pekala 82bfe375c3 - 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
2014-03-16 21:35:11 +00:00

28 lines
571 B
Makefile

# Created by: Jesse
# $FreeBSD$
PORTNAME= pbimaker
PORTVERSION= 1.3
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= SF/makeapbi/makeapbi/
MAINTAINER= jessefrgsmith@yahoo.ca
COMMENT= Program to convert ports into PBI modules
LICENSE= BSD3CLAUSE
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}
.include <bsd.port.mk>