freebsd-ports/graphics/recmpeg/Makefile
Norikatsu Shigemura d5baed084e Conditionalize gnugetopt dependencies.
PR:		ports/47325
Submitted by:	Ports Fury
2003-02-02 13:07:45 +00:00

32 lines
630 B
Makefile

# ex:ts=8
# Ports collection makefile for: recmpeg
# Date created: Mar 24, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= recmpeg
PORTVERSION= 1.0.5
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= fame
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= fame-0.9.0:${PORTSDIR}/graphics/libfame
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= recmpeg.1
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
.if !exists(/usr/include/getopt.h)
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
LDFLAGS+= -lgnugetopt
.endif
.include <bsd.port.mk>