blob: a7a3e23b6b0df82344cb5b4dfaab0ddcedc7d245 (
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
31
32
33
34
|
# New ports collection makefile for: geda
# Date created: 27 June 2006
# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru>
#
# $FreeBSD$
#
PORTNAME= examples
PORTVERSION= 20070216
CATEGORIES= cad
MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/devel/${PORTVERSION}/ \
http://geda.seul.org/devel/${PORTVERSION}/
PKGNAMEPREFIX= geda-
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
MAINTAINER= stas@FreeBSD.org
COMMENT= The gEDA's examples
NO_BUILD= yes
EXAMPLESDIR= ${PREFIX}/share/examples/geda
.include <bsd.port.pre.mk>
EXAMPLES!= ${CAT} ${FILESDIR}/examples
do-install:
@${MKDIR} ${EXAMPLESDIR}
@(cd ${WRKSRC} \
&& ${FIND} -d ${EXAMPLES} -type d -exec ${MKDIR} ${EXAMPLESDIR}/{} \; \
&& ${FIND} -d ${EXAMPLES} -type f -exec ${INSTALL_DATA} {} \
${EXAMPLESDIR}/{} \;)
.include <bsd.port.post.mk>
|