freebsd-ports/www/linux-libgtkembedmoz/Makefile
Hiroki Sato e15438b706 Add www/linux-libgtkembedmoz. This is a small port that provides
a Linux version of libgtkembedmoz (HTML rendering library) used by some
applications such as Adobe Reader.
2010-08-08 04:11:09 +00:00

35 lines
826 B
Makefile

# New ports collection makefile for: linux-libgtkembedmoz
# Date created: 6 Aug 2010
# Whom: 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
USE_LINUX= yes
USE_BZIP2= 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} ${PREFIX}/${MOZLIBDIR}
(cd ${WRKSRC} && ${TAR} -cpf - --exclude "res/samples/" \
--exclude "res/sample*" lib* res components) | \
( cd ${PREFIX}/${MOZLIBDIR} && ${TAR} xpf - )
.include <bsd.port.mk>