aboutsummaryrefslogtreecommitdiffstats
path: root/net/gutenfetch/Makefile
blob: 38ac25cb5860cffe2200e0f674920c3cf2ecadff (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
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:    gutenfetch
# Date created:     22-Aug-2001
# Whom:         Russell Francis
#
# $FreeBSD$
#

PORTNAME=   gutenfetch
PORTVERSION=    1.5
CATEGORIES= net
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gutenfetch

MAINTAINER= johntabularasa@users.sf.net
COMMENT=    Fetch listings and books from Project Gutenberg

LIB_DEPENDS=    gutenfetch:${PORTSDIR}/devel/libgutenfetch

GNU_CONFIGURE=  yes
CONFIGURE_TARGET=--build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
        LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
USE_GMAKE=  yes
USE_BZIP2=  yes
USE_GETOPT_LONG=    yes

MAN1=       gutenfetch.1
PLIST_FILES=    bin/gutenfetch

post-install:
    ${STRIP_CMD} ${PREFIX}/bin/gutenfetch
    @${CAT} ${PKGMESSAGE} | ${SED} -e 's,%%PREFIX%%,${PREFIX},g'

.include <bsd.port.mk>