freebsd-ports/textproc/rubygem-nokogiri/Makefile

26 lines
544 B
Makefile

# $FreeBSD$
PORTNAME= nokogiri
PORTVERSION= 1.6.7.2
CATEGORIES= textproc rubygems
MASTER_SITES= RG
MAINTAINER= ruby@FreeBSD.org
COMMENT= HTML, XML, SAX, and Reader parser
LICENSE= MIT
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
USE_GNOME= libxml2 libxslt
USES= pkgconfig
CONFIGURE_ARGS= --use-system-libraries
PLIST_FILES= bin/nokogiri
post-install:
${FIND} ${STAGEDIR}${PREFIX}/${GEMS_BASE_DIR} -name '*.o' -o -name '*.so' | ${XARGS} ${STRIP_CMD}
${RMDIR} ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/ports/
.include <bsd.port.mk>