summaryrefslogtreecommitdiffstats
path: root/devel/fampp/Makefile
blob: 582d03b61a1aa7f02e50b8e03bd5ac4d4f37d716 (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
# Created by: Jeremy Norris <ishmael27@home.com>
# $FreeBSD$

PORTNAME=	fampp
PORTVERSION=	1.1
CATEGORIES=	devel
MASTER_SITES=	SF

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A C++ wrapper for fam from SGI

WRKSRC=		${WRKDIR}/${PORTNAME}
NO_BUILD=	yes
USE_FAM=	yes
WANT_FAM_SYSTEM=fam

NO_STAGE=	yes
do-install:
.for FILE in FamppEvents.hh FamppExceptions.hh fam.hh famStatic.hh handle.hh
	${INSTALL_DATA} ${WRKSRC}/include/${FILE} ${PREFIX}/include
.endfor
	${MKDIR} ${PREFIX}/include/private
	${INSTALL_DATA} ${WRKSRC}/include/private/FamppEventModel.hh \
			${WRKSRC}/include/private/FamppModel.hh ${PREFIX}/include/private
	${MKDIR} ${PREFIX}/share/fampp/examples
.for DIR in gtk simple singleton
	${INSTALL_DATA} ${WRKSRC}/examples/${DIR}/main.cpp ${PREFIX}/share/fampp/examples/${DIR}-main.cpp
.endfor

.include <bsd.port.mk>
OpenPOWER on IntegriCloud