aboutsummaryrefslogtreecommitdiffstats
path: root/cad/kicad-library/Makefile
blob: 55c49a4ad3cc4637d55ce85941b0894038dd8c00 (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:  kicad-library
# Date created:               22 May 2010
# Whom:                       Thierry Thomas <thierry@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   kicad
PORTVERSION=    1.0
CATEGORIES= cad
MASTER_SITES=   ${MASTER_SITE_LOCAL}    \
        SF/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}/${PORTVERSION}
MASTER_SITE_SUBDIR= thierry/${PORTNAME}
PKGNAMESUFFIX=  -library
DISTNAME=   ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
DIST_SUBDIR=    ${PORTNAME}

MAINTAINER= thierry@FreeBSD.org
COMMENT=    Library modules for Kicad EDA

CONFLICTS=  kicad-devel*

USE_BZIP2=  yes
NO_BUILD=   yes

WRKSRC=     ${WRKDIR}/${PORTNAME}${PKGNAMESUFFIX}

do-install:
    ${MKDIR} ${DATADIR}
    (cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${DATADIR})
    ${FIND} ${DATADIR} -name CMakeLists.txt -delete \
        -o -name makefile -delete

.include <bsd.port.mk>