pkgsrc-wip/cb2bib/Makefile
2006-08-14 03:50:12 +00:00

36 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2006/08/14 03:50:12 dhowland Exp $
#
DISTNAME= cb2bib-0.6.1
CATEGORIES= misc
MASTER_SITES= http://www.molspaces.com/dl/progs/
MAINTAINER= dhowland@users.sourceforge.net
HOMEPAGE= http://www.molspaces.com/cb2bib/
COMMENT= Extract and organize bibliographic references
QTPREFIX= ${PREFIX}/qt3
CONFIGURE_ENV+= QTDIR=${QTPREFIX:Q}
USE_DIRS+= xdg-1.2
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= gmake
# needed to find qmake
PATH:= ${PATH}:${QTPREFIX}/bin
SUBST_CLASSES+= path
SUBST_STAGE.path= post-patch
SUBST_FILES.path= src/src.pro
SUBST_SED.path= -e 's,xxPREFIXxx,${PREFIX},g'
SUBST_MESSAGE.path= Fixing hardcoded paths.
do-configure:
cd ${WRKSRC} && ${SET_ENV} ${CONFIGURE_ENV} ./configure \
--prefix ${PREFIX} --bindir ${PREFIX}/bin --datadir ${PREFIX}/share
.include "../../x11/qt3-libs/buildlink3.mk"
.include "../../x11/qt3-tools/buildlink3.mk"
.include "../../mk/x11.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"