aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/mgp-gallery/Makefile
blob: b1994dd152153e13a60fb5fa51a03369fae096b1 (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
39
40
41
42
43
44
45
# ex:ts=8
#
# New ports collection makefile for:    mgp-gallery
# Date created:     2002-12-28
# Whom:         Alan Eldridge <alane@geeksrus.net>
#
# $FreeBSD$
#

PORTNAME=   mgp-gallery
PORTVERSION=    2.0
PORTREVISION=   2
PORTEPOCH=  0
CATEGORIES= graphics
MASTER_SITES=   http://puchol.com/cpg/software/mgp/
DISTFILES=  mgp-midgard-${PORTVERSION}.tgz \
        mgp-backgrounds-${PORTVERSION}.tgz \
        mgp-solid-${PORTVERSION}.tgz \
        mgp-gradients-${PORTVERSION}.tgz
DIST_SUBDIR=    ${PKGNAMEPREFIX}${PORTNAME}

DEPRECATED= "no longer available from master site"
EXPIRATION_DATE=2005-07-31

MAINTAINER= ports@FreeBSD.org
COMMENT=    A collection of various templates for magicpoint

NO_BUILD=   yes
USE_X_PREFIX=   yes

.include <bsd.port.pre.mk>

PKGDATA_SUBDIR=     lib/X11/mgp
PKGDATADIR=     ${PREFIX}/${PKGDATA_SUBDIR}

do-install:
    ${MKDIR} ${PKGDATADIR}
.for i in midgard backgrounds solid gradients
    ${MKDIR} ${PKGDATADIR}/${i}
    cd ${WRKDIR}/mgp-${i}-${PORTVERSION};\
    ${INSTALL_DATA} * ${PKGDATADIR}/${i};\
    ${SCRIPTDIR}/fix-gallery "${INSTALL_DATA}" ${PKGDATADIR}/${i} *.mgp
.endfor # i in midgard backgrounds solid gradient

.include <bsd.port.post.mk>