aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/mgp-gallery/Makefile
blob: e67064113d990a28a50679e10eb6dcba10b22298 (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
# 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}

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>