2001-09-18 06:21:29 +00:00
|
|
|
# New ports collection makefile for: gutenfetch
|
|
|
|
# Date created: 22-Aug-2001
|
|
|
|
# Whom: Russell Francis
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gutenfetch
|
2004-07-25 22:00:00 +00:00
|
|
|
PORTVERSION= 1.5
|
2001-09-18 06:21:29 +00:00
|
|
|
CATEGORIES= net
|
2004-03-07 22:12:21 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= gutenfetch
|
2001-09-18 06:21:29 +00:00
|
|
|
|
2004-07-25 22:00:00 +00:00
|
|
|
MAINTAINER= johntabularasa@users.sf.net
|
2003-02-21 13:28:59 +00:00
|
|
|
COMMENT= Fetch listings and books from Project Gutenberg
|
2001-09-18 06:21:29 +00:00
|
|
|
|
2004-07-25 22:00:00 +00:00
|
|
|
LIB_DEPENDS= gutenfetch:${PORTSDIR}/devel/libgutenfetch
|
2001-09-18 06:21:29 +00:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2005-04-12 03:26:56 +00:00
|
|
|
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2004-07-25 22:00:00 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
2001-09-18 06:21:29 +00:00
|
|
|
USE_GMAKE= yes
|
2004-03-07 22:12:21 +00:00
|
|
|
USE_BZIP2= yes
|
2001-09-18 06:21:29 +00:00
|
|
|
|
|
|
|
MAN1= gutenfetch.1
|
2004-02-06 13:12:53 +00:00
|
|
|
PLIST_FILES= bin/gutenfetch
|
2001-09-18 06:21:29 +00:00
|
|
|
|
|
|
|
post-install:
|
2003-09-24 09:37:11 +00:00
|
|
|
${STRIP_CMD} ${PREFIX}/bin/gutenfetch
|
2004-03-07 22:12:21 +00:00
|
|
|
@${CAT} ${PKGMESSAGE} | ${SED} -e 's,%%PREFIX%%,${PREFIX},g'
|
2001-09-18 06:21:29 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|