aboutsummaryrefslogtreecommitdiffstats
path: root/cad/geda-examples/Makefile
blob: 8099ce37bea9bafb3f6e4183a263a5a478711541 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# New ports collection makefile for:    geda
# Date created:         27 June 2006
# Whom:             Stanislav Sedov <ssedov@mbsd.msk.ru>
#
# $FreeBSD$
#

PORTNAME=   examples
PORTVERSION=    1.4.3
PORTEPOCH=  1
CATEGORIES= cad
MASTER_SITES=   ftp://ftp.geda.seul.org/pub/geda/release/v1.4/${PORTVERSION}/ \
        http://geda.seul.org/release/v1.4/${PORTVERSION}/
PKGNAMEPREFIX=  geda-
DISTNAME=   ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    The gEDA's examples

GNU_CONFIGURE=  yes

EXAMPLESDIR=    ${PREFIX}/share/examples/geda

.include <bsd.port.pre.mk>

post-patch:
    @$(FIND) ${WRKSRC} -name Makefile.in -exec \
        ${REINPLACE_CMD} -e 's,\(^exampledir = \).*,\1${EXAMPLESDIR},g' {} \;

.include <bsd.port.post.mk>