summaryrefslogtreecommitdiff
path: root/textproc/biblook/Makefile
blob: b992a1d911ce9b35ddb3423e348a561424ef04ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $NetBSD: Makefile,v 1.14 2008/06/20 01:09:37 joerg Exp $
#

DISTNAME=	biblook
PKGNAME=	${DISTNAME}-2.9
CATEGORIES=	textproc
MASTER_SITES=	http://compgeom.cs.uiuc.edu/~jeffe/files/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://compgeom.cs.uiuc.edu/~jeffe/biblook.html
COMMENT=	Indexing and searching tools for BibTeX bibliography databases

PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=		${WRKDIR}
MAKE_ENV+=	MANDIR=${PREFIX}/${PKGMANDIR}/man1
MAKE_FLAGS+=	CC=${CC:Q}

# override definitions in the package's Makefile via command line
MAKE_FLAGS+=	OPT="${CFLAGS} -Dunix"
MAKE_FLAGS+=	DEF_H_FILES="-DHAVE_STDLIB_H -DHAVE_NETINET_IN_H"
MAKE_FLAGS+=	DEF_MORE='-DMOREPATH="\"/usr/bin/more\"" -DMORE="\"more\""'

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1

.include "../../mk/bsd.pkg.mk"