[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / textproc / ruby-nqxml

File: [cvs.NetBSD.org] / pkgsrc / textproc / ruby-nqxml / Makefile (download)

Revision 1.14, Thu Oct 25 06:56:58 2012 UTC (7 years ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.13: +1 -2 lines

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

# $NetBSD: Makefile,v 1.14 2012/10/25 06:56:58 asau Exp $
#

DISTNAME=	nqxml-1.1.3p1
PKGNAME=	${RUBY_PKGPREFIX}-${DISTNAME:S/p/./}
PKGREVISION=	2
CATEGORIES=	textproc ruby
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=nqxml/}

MAINTAINER=	neumann@s-direktnet.de
HOMEPAGE=	http://sourceforge.net/projects/nqxml/
COMMENT=	XML parser written in pure Ruby
LICENSE=	ruby-license

NO_BUILD=	yes
USE_RUBY_INSTALL= yes

DOC=		README
EXAMPLES=	data.xml doc.xml dumpXML.rb parseTestStream.rb \
		parseTestTree.rb printEntityClassNames.rb \
		reverseTags.rb reverseText.rb write.rb \
		write.rb writeManualDoc.rb writeParsedDoc.rb
CONTRIB_LIB=	autodis_1.rb autodis_2.rb
TESTS=		dispatchertester.rb oasis.rb streamingparsertester.rb test.rb \
		testresource.rb tokenizertester.rb treeparsertester.rb \
		writertester.rb
REPLACE_RUBY_DIRS=	examples tests

INSTALL_TARGET=		install \
			--install-dir=${DESTDIR}${PREFIX}/${RUBY_VENDORLIB}
INSTALLATION_DIRS=	${RUBY_DOC}/nqxml ${RUBY_EG}/nqxml/contrib \
			${RUBY_EG}/nqxml/tests

post-install:
.for f in ${DOC}
	${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${RUBY_DOC}/nqxml
.endfor
.for f in ${EXAMPLES}
	${INSTALL_DATA} ${WRKSRC}/examples/${f} \
		${DESTDIR}${PREFIX}/${RUBY_EG}/nqxml
.endfor
.for f in ${CONTRIB_LIB}
	${INSTALL_DATA} ${WRKSRC}/contrib/${f} \
		${DESTDIR}${PREFIX}/${RUBY_EG}/nqxml/contrib
.endfor
.for f in ${TESTS}
	${INSTALL_DATA} ${WRKSRC}/tests/${f} \
		${DESTDIR}${PREFIX}/${RUBY_EG}/nqxml/tests
.endfor

.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"