mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
63 lines
1.7 KiB
Makefile
63 lines
1.7 KiB
Makefile
# Created by: Vanilla I. Shu <vanilla@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= geda
|
|
PORTVERSION= 1.8.2
|
|
PORTREVISION= 3
|
|
PORTEPOCH= 1
|
|
CATEGORIES= cad
|
|
MASTER_SITES= http://ftp.geda-project.org/geda-gaf/stable/v${PORTVERSION:R}/${PORTVERSION}/
|
|
DISTNAME= ${PORTNAME}-gaf-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= GPL Electronic Design Automation tools
|
|
|
|
LICENSE= GPLv2 # (or later)
|
|
|
|
LIB_DEPENDS= libstroke.so:${PORTSDIR}/devel/libstroke \
|
|
libguile.so:${PORTSDIR}/lang/guile
|
|
RUN_DEPENDS= gawk:${PORTSDIR}/lang/gawk\
|
|
m4>=1.4.11:${PORTSDIR}/devel/m4
|
|
|
|
USES= desktop-file-utils gettext gmake libtool pathfix perl5 \
|
|
pkgconfig python:run shared-mime-info shebangfix
|
|
SHEBANG_FILES= examples/lightning_detector/bom libgeda/docs/*.dox \
|
|
utils/gxyrs/*.pl utils/scripts/* \
|
|
utils/docs/*.dox gattrib/docs/*.dox \
|
|
gschem/docs/*.dox gsymcheck/docs/*.dox \
|
|
gnetlist/docs/*.dox
|
|
USE_GNOME= gtk20
|
|
USE_PERL5= run
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= M4=${LOCALBASE}/bin/gm4
|
|
CONFIGURE_ARGS= --with-libstroke=${LOCALBASE}
|
|
INSTALL_TARGET= install-strip
|
|
USE_LDCONFIG= yes
|
|
INSTALLS_ICONS= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-gaf
|
|
DATADIR= ${PREFIX}/share/gEDA
|
|
|
|
INFO= geda-scheme
|
|
|
|
CONFLICTS= geda-docs-[0-9]* geda-examples-[0-9]* geda-gattrib-[0-9]* \
|
|
geda-gschem-[0-9]* geda-netlist-[0-9]* geda-symbols-[0-9]* \
|
|
geda-symcheck-[0-9]* geda-utils-[0-9]* libgeda-[0-9]*
|
|
|
|
PORTSCOUT= limitw:1,even
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
.for dir in gattrib gschem libgeda
|
|
@${REINPLACE_CMD} -e \
|
|
'/-x/s|INSTALL_DATA|INSTALL|' ${WRKSRC}/${dir}/data/Makefile.in
|
|
.endfor
|
|
@${REINPLACE_CMD} -e \
|
|
'/OS_LINUX=/s|no|yes|' ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|