freebsd-ports/cad/gerbv/Makefile

41 lines
902 B
Makefile
Raw Normal View History

2002-07-15 22:00:33 +02:00
# ex:ts=8
# Ports collection makefile for: gerbv
# Date created: Jul 16, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= gerbv
PORTVERSION= 0.16
PORTREVISION= 1
2002-07-15 22:00:33 +02:00
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
2003-02-20 18:07:10 +01:00
COMMENT= A Free Gerber Viewer
2002-07-15 22:00:33 +02:00
USE_GNOME= gnometarget gtk20
USE_GETOPT_LONG= yes
2002-07-15 22:00:33 +02:00
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --enable-gtk2
2002-07-15 22:00:33 +02:00
MAN1= gerbv.1
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
2002-07-15 22:00:33 +02:00
post-install:
.if !defined(NOPORTDOCS)
2002-07-15 22:00:33 +02:00
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/doc && ${FIND} . ! -name "*Makefile*" | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
2002-07-15 22:00:33 +02:00
@${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC}/example && ${FIND} . ! -name "*Makefile*" | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
2002-07-15 22:00:33 +02:00
.endif
.include <bsd.port.mk>