blob: 18d3dd20b2c5464db732076f0eb0dd981b708989 (
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
36
37
|
# New ports collection makefile for: mxico
# Date created: 25 October 2003
# Whom: NAKATA, Maho <maho@FreeBSD.org>
#
# $FreeBSD$
#
# NB: Do not delete or wrap post-install section, since we have to provide
# READMEj and README
PORTNAME= mxico
PORTVERSION= 1.0.1
CATEGORIES= x11
MASTER_SITES= http://people.freebsd.org/~maho/mxico/
MAINTAINER= maho@FreeBSD.org
COMMENT= Rotating Object on the screen (Zalgaller polyhedra)
USE_IMAKE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
MAN6= mxico.6
pre-build:
@cd ${WRKSRC} && ${MV} Makefile Makefile~ && ${SED} \
-e 's: BINDIR .*:BINDIR=${PREFIX}/bin:' \
-e 's: MANDIR .*:MANDIR=${PREFIX}/man/man6:' \
-e 's: MANSUFFIX .*:MANSUFFIX=6:' <Makefile~ >Makefile
pre-install:
@${MKDIR} ${PREFIX}/bin
@${MKDIR} ${PREFIX}/man/man6
@${MKDIR} ${DOCSDIR}
post-install:
@(cd ${WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} install.man)
@(cd ${WRKSRC}; ${INSTALL_DATA} polyhedron/READMEj ${DOCSDIR})
@(cd ${WRKSRC}; ${INSTALL_DATA} polyhedron/README ${DOCSDIR})
.include <bsd.port.mk>
|