1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/misc/goldstr/Makefile
Norikatsu Shigemura bcfcc8239d Conditionalize libgnugetopt dependencies.
PR:		ports/47750
Submitted by:	Ports Fury
2003-02-02 14:38:39 +00:00

28 lines
567 B
Makefile

# 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
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>