1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/devel/stormlib-ghost++/Makefile
Pawel Pekala 1b529575f5 - Add staging support
- Switch to PLIST_FILES PLIST_DIRS, plist is small
- Strip library
2014-04-03 18:01:05 +00:00

34 lines
733 B
Makefile

# Created by: <ports@c0decafe.net>
# $FreeBSD$
PORTNAME= stormlib
PORTVERSION= 6.25
CATEGORIES= devel archivers
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
PKGNAMESUFFIX= -ghost++
DISTNAME= ${PROJECTHOST}_${PROJECTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ library to read and write MPQ archives
PROJECTHOST= ghostplusplus
PROJECTVERSION= 17.1
USES= dos2unix gmake zip
USE_LDCONFIG= yes
PLIST_FILES= include/StormLib/StormLib.h \
include/StormLib/StormPort.h \
lib/libStorm.so
PLIST_DIRS= include/StormLib
WRKSRC= ${WRKDIR}/ghost/StormLib/stormlib
post-patch:
@${REINPLACE_CMD} 's|PREFIX|DESTDIR)$$(&|' ${WRKSRC}/Makefile
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libStorm.so
.include <bsd.port.mk>