update Mon Jan 18 06:37:00 PST 2010
[pkgsrc.git] / wip / cb2bib / Makefile
1 # $NetBSD$
2 #
3
4 DISTNAME=               cb2bib-0.7.2
5 PKGREVISION=            1
6 CATEGORIES=             misc
7 MASTER_SITES=           http://www.molspaces.com/dl/progs/
8
9 MAINTAINER=             dhowland@users.sourceforge.net
10 HOMEPAGE=               http://www.molspaces.com/cb2bib/
11 COMMENT=                Extract and organize bibliographic references
12
13 USE_LANGUAGES=          c c++
14 USE_LIBTOOL=            yes
15 USE_TOOLS+=             gmake
16
17 SUBST_CLASSES+=         path
18 SUBST_STAGE.path=       pre-configure
19 SUBST_FILES.path=       src/src.pro
20 SUBST_SED.path=         -e 's,xxPREFIXxx,${PREFIX},g'
21 SUBST_MESSAGE.path=     Fixing hardcoded paths.
22
23 do-configure:
24         cd ${WRKSRC} && ${SET_ENV} ${CONFIGURE_ENV} ./configure \
25         --prefix ${PREFIX} --bindir ${PREFIX}/bin --datadir ${PREFIX}/share
26
27 .include "../../x11/qt4-libs/buildlink3.mk"
28 .include "../../x11/qt4-tools/buildlink3.mk"
29 .include "../../mk/x11.buildlink3.mk"
30 .include "../../mk/bsd.pkg.mk"