aboutsummaryrefslogtreecommitdiff
path: root/biology/povchem/Makefile
blob: faf03cde23051a7f6d60d2db3415ae583a9ac862 (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
35
# New ports collection Makefile for: povchem
# Version required:     1.0
# Date created:         Mar 14 1998
# Whom:                 frankch@waru.life.nthu.edu.tw
#
# $FreeBSD$
#

DISTNAME=	povchem-1.0
CATEGORIES=     biology graphics
MASTER_SITES=   http://cherubino.med.jhmi.edu/~paul/PC_Dist/v1.00/
DISTFILES=	povchem.c \
		povchem.cfg \
		periodic.tab

MAINTAINER=     frankch@waru.life.nthu.edu.tw

NO_WRKSUBDIR=	yes
DIST_SUBDIR=	povchem

pre-extract:
	@${MKDIR} ${WRKSRC}
	@${CP} ${DISTDIR}/${DIST_SUBDIR}/povchem.c ${WRKSRC}
	@${CP} ${DISTDIR}/${DIST_SUBDIR}/povchem.cfg ${WRKSRC}
	@${CP} ${DISTDIR}/${DIST_SUBDIR}/periodic.tab ${WRKSRC}

do-extract:
	@${TOUCH} ${TOUCH_FLAGS} ${EXTRACT_COOKIE}

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/povchem ${PREFIX}/bin
	@${INSTALL_DATA} ${WRKSRC}/povchem.cfg ${PREFIX}/etc
	@${INSTALL_DATA} ${WRKSRC}/periodic.tab ${PREFIX}/share

.include <bsd.port.mk>