freebsd-ports/www/linux-libgtkembedmoz/Makefile
Baptiste Daroussin a245fe96eb USES=tar:bzip2
2014-05-08 23:41:10 +00:00

31 lines
767 B
Makefile

# Created by: hrs
# $FreeBSD$
PORTNAME= libgtkembedmoz
PORTVERSION= 0.0.20100806
CATEGORIES= www
MASTER_SITES= http://cvs.nvu.com/download/ CSME
PKGNAMEPREFIX= linux-
DISTNAME= nvu-1.0-pc-linux2.6.10-gnu
MAINTAINER= hrs@FreeBSD.org
COMMENT= HTML rendering library
NO_BUILD= yes
ONLY_FOR_ARCHS= amd64 i386
USES= uidfix tar:bzip2
USE_LINUX= yes
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/nvu-1.0
PLIST_SUB= MOZLIBDIR=${MOZLIBDIR}
MOZLIBDIR= lib/${PKGNAMEPREFIX}${PORTNAME}
do-install:
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${WRKSRC}
${MKDIR} ${STAGEDIR}${PREFIX}/${MOZLIBDIR}
(cd ${WRKSRC} && ${TAR} -cpf - --exclude "res/samples/" \
--exclude "res/sample*" lib* res components) | \
( cd ${STAGEDIR}${PREFIX}/${MOZLIBDIR} && ${TAR} xpf - )
.include <bsd.port.mk>