aboutsummaryrefslogtreecommitdiff
path: root/misc/goldstr/Makefile
blob: c70aac454ddc8579e6e842d3f40f2d902ad7ad96 (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
# ex:ts=8
# New ports collection makefile for:	goldstr
# Date created:			Jul 31, 2001
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	goldstr
PORTVERSION=	1.6.0
CATEGORIES=	misc
MASTER_SITES=	http://it.geocities.com/andreamolteni/prog/goldstr/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Compute the golden string

GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"

MAN1=	goldstr.1

.if !exists(/usr/include/getopt.h)
LIB_DEPENDS+=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib -lgnugetopt
.endif

.include <bsd.port.mk>