1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/devel/gcvs/Makefile
2016-04-21 12:45:16 +00:00

31 lines
784 B
Makefile

# $FreeBSD$
PORTNAME= gcvs
PORTVERSION= 1.0
PORTREVISION= 15
PORTEPOCH= 1
CATEGORIES= devel tk
MASTER_SITES= SF/cvsgui/gCvs/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= High-end interface client for CVS
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USE_GNOME= gtk12
USES= autoreconf gmake tk:wrapper,tea
CXXFLAGS:= ${CXXFLAGS:N-std=*:N:}
EXTRACT_AFTER_ARGS=--exclude cvsunix --exclude 'getline.[ch]' --exclude 'getopt*.[ch]'
post-patch:
${REINPLACE_CMD} -E '/get(line|opt1?)\.[ch]/d' \
${WRKSRC}/common/Makefile.am
${FIND} ${WRKSRC} -name '*.c*' | ${XARGS} ${REINPLACE_CMD} -E \
-e '/#include "getline\.h"/d' \
-e 's/"getopt\.h"/<getopt.h>/'
${REINPLACE_CMD} 's/cvsunix//g' \
${WRKSRC}/Makefile.am ${WRKSRC}/configure.in
.include <bsd.port.mk>