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
|
2004-06-27 20:02:24 +02:00
|
|
|
PORTVERSION= 0.16
|
2004-11-07 23:37:47 +01:00
|
|
|
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
|
|
|
|
2004-06-27 20:02:24 +02:00
|
|
|
USE_GNOME= gnometarget gtk20
|
2003-04-27 20:06:41 +02:00
|
|
|
USE_GETOPT_LONG= yes
|
2002-07-15 22:00:33 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2003-02-02 14:54:17 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2004-06-27 20:02:24 +02:00
|
|
|
CONFIGURE_ARGS= --enable-gtk2
|
2002-07-15 22:00:33 +02:00
|
|
|
|
|
|
|
MAN1= gerbv.1
|
|
|
|
|
2003-02-08 06:27:23 +01:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
2003-02-02 14:54:17 +01:00
|
|
|
|
2002-07-15 22:00:33 +02:00
|
|
|
post-install:
|
2002-08-05 06:25:24 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-07-15 22:00:33 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2004-06-27 20:02:24 +02:00
|
|
|
cd ${WRKSRC}/doc && ${FIND} . ! -name "*Makefile*" | \
|
2004-01-22 13:18:43 +01:00
|
|
|
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
|
2002-07-15 22:00:33 +02:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2004-06-27 20:02:24 +02:00
|
|
|
cd ${WRKSRC}/example && ${FIND} . ! -name "*Makefile*" | \
|
2004-01-22 13:18:43 +01:00
|
|
|
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
|
2002-07-15 22:00:33 +02:00
|
|
|
.endif
|
|
|
|
|
2003-04-27 20:06:41 +02:00
|
|
|
.include <bsd.port.mk>
|