aboutsummaryrefslogtreecommitdiffstats
path: root/print/bibcursed/Makefile
blob: ca2469f17ee657119563996d59bc8b4a21953aa2 (plain) (blame)
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
# $FreeBSD$

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

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

WRKSRC=     ${WRKDIR}/${PORTNAME}

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

do-build:
    cd ${WRKSRC}; ${CC} ${CFLAGS} ${PORTNAME}.c -o ${PORTNAME} -lncurses

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

.include <bsd.port.mk>