# New ports collection makefile for:   cdargs
# Date created:        1 May 2004
# Whom:                Wesley Shields <wxs@csh.rit.edu>
#
# $FreeBSD$
#

PORTNAME=	cdargs
PORTVERSION=	1.35
CATEGORIES=	sysutils
MASTER_SITES=	http://www.skamphausen.de/software/cdargs/ \
		http://www.atarininja.org/~wxs/distfiles/

MAINTAINER=	wxs@csh.rit.edu
COMMENT=	Navigate the filesystem using a menu interface or a bookmark system

USE_GETOPT_LONG=	yes
GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CFLAGS+=	-DHAVE_DECL_GETOPT

MAN1=	cdargs.1

PLIST_FILES=	bin/cdargs

post-patch:
	@${REINPLACE_CMD} -e 's,CXXFLAGS =,CXXFLAGS +=,' \
		${WRKSRC}/src/Makefile.in

.include <bsd.port.mk>