summaryrefslogtreecommitdiff
path: root/print/bibcursed/Makefile
blob: bfe0b763dbfb46f8088c019c23bdf1851a5d9652 (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
# Created by: ijliao

PORTNAME=	bibcursed
PORTVERSION=	2.0.1
CATEGORIES=	print
MASTER_SITES=	SF
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Simple curses-based editor for BibTeX bibliography files

USES=		ncurses tar:tgz
WRKSRC=		${WRKDIR}/${PORTNAME}

PLIST_FILES=	bin/bibcursed man/man1/bibcursed.1.gz

do-build:
	(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${CC} ${CFLAGS} \
		${PORTNAME}.c -o ${PORTNAME} ${LDFLAGS} -lncurses)

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1

.include <bsd.port.mk>