- Simplify MASTER_SITES

- Add LICENSE
- Strip libraries
This commit is contained in:
Dmitry Marakasov 2015-02-23 01:20:39 +00:00
parent 534f9bb49d
commit 93e2d59789
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=379642

View file

@ -4,7 +4,7 @@ PORTNAME= mbpurple
PORTVERSION= 0.3.0
PORTREVISION= 3
CATEGORIES= net-im
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MASTER_SITES= GOOGLE_CODE
PROJECTHOST= microblog-purple
MAINTAINER= ports@FreeBSD.org
@ -13,6 +13,9 @@ COMMENT= Integrate Twitter with Pidgin (AKA microblog-purple)
BUILD_DEPENDS= ${LOCALBASE}/bin/pidgin:${PORTSDIR}/net-im/pidgin
RUN_DEPENDS= ${LOCALBASE}/bin/pidgin:${PORTSDIR}/net-im/pidgin
LICENSE= GPLv3 # or later
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake pkgconfig
MAKE_ARGS= PREFIX="${PREFIX}" LIBDIR="${PREFIX}/lib" \
PURPLE_DATAROOT_DIR="${PREFIX}/share"
@ -20,4 +23,7 @@ MAKE_ARGS= PREFIX="${PREFIX}" LIBDIR="${PREFIX}/lib" \
post-patch:
@${REINPLACE_CMD} 's/make -C/$$(MAKE) -C/' ${WRKSRC}/Makefile
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/purple-2/*.so
.include <bsd.port.mk>