aboutsummaryrefslogtreecommitdiffstats
path: root/misc/magicpoint/Makefile
blob: 8fa644ddc7bd2b99cb78decfd175e2b3a827d99d (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
38
# New ports collection makefile for:   magicpoint
# Version required:    1.02a
# Date created:        24 December 1997
# Whom:                itojun@itojun.org
#
# $Id$
#

DISTNAME=   mgp-1.02a
PKGNAME=        magicpoint-1.02a
CATEGORIES= misc
MASTER_SITES=   ftp://ftp.mew.org/pub/MagicPoint/

MAINTAINER= itojun@itojun.org

USE_IMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-vflib

DOCS=   COPYRIGHT COPYRIGHT.jp README SYNTAX TODO.jp USAGE USAGE.jp
SAMPLES=    README README.jp ascii.mgp cloud.gif dad.eps dad.gif \
        default.mgp gradation.mgp mgp-old1.gif mgp-old2.gif \
        mgp-old3.gif mgp1.gif mgp2.gif mgp3.gif sample.mgp \
        tutorial.mgp v6.mgp v6header.eps v6header.gif

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/mgp
    for i in $(DOCS); do \
        ${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/mgp; \
    done
    ${MKDIR} ${PREFIX}/share/doc/mgp/sample
    for i in $(SAMPLES); do \
        ${INSTALL_DATA} ${WRKSRC}/sample/$$i ${PREFIX}/share/doc/mgp/sample; \
    done
.endif

.include <bsd.port.mk>