summaryrefslogtreecommitdiff
path: root/cad/gplcver/Makefile
blob: 85c9882cbd415a1cef0c4fe95d75ac7e4689df63 (plain)
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
35
# $NetBSD: Makefile,v 1.8 2012/02/16 11:39:39 hans Exp $
#

DISTNAME=		gplcver-2.12a.src
PKGNAME=		gplcver-2.12a
CATEGORIES=		cad
#MASTER_SITES=		http://www.pragmatic-c.com/gpl-cver/downloads/
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=gplcver/}
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.pragmatic-c.com/gpl-cver/
COMMENT=		Verilog simulator

PKG_DESTDIR_SUPPORT=	user-destdir

BUILD_DIRS=		src
MAKE_FILE=		makefile.freebsd
BUILDLINK_LIBS.dl=	${BUILDLINK_LDADD.dl}

INSTALLATION_DIRS=	bin lib/gplcver/pli_incs

.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
BUILDLINK_TRANSFORM+=	rm:-export-dynamic
.endif

.include "../../mk/dlopen.buildlink3.mk"

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/bin/cver ${DESTDIR}${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/pli_incs/*.h \
		${DESTDIR}${PREFIX}/lib/gplcver/pli_incs

.include "../../mk/bsd.pkg.mk"