aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/popup-stacks/Makefile
blob: 03b41942133ecc0d34f05e961b3fb8cccfb254df (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
# New ports collection makefile for:    popup
# Date created:         18 Dec 2006
# Whom:                 dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
#

PORTNAME=   popup
PORTVERSION=    1.0
CATEGORIES= textproc
MASTER_SITES=   http://popup.sourceforge.net/files/cstack/
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMESUFFIX=  -stacks${PKGNAMESUFFIX2}
DISTFILES=  English-German.cstack.gz German-French.cstack.gz

MAINTAINER= dinoex@FreeBSD.org
COMMENT=    Stacks for use with Popup

NO_BUILD=   yes

WRKSRC=     ${WRKDIR}
STACKS=     English-German.cstack German-French.cstack
PLIST_DIRS= share/examples/popup
.for i in ${STACKS}
PLIST_FILES+=   share/examples/popup/${i}
.endfor

do-extract:
    ${MKDIR} ${WRKDIR}
.for i in ${DISTFILES}
    ${CP} ${DISTDIR}/${i} ${WRKDIR}/
    ${GZIP_CMD} -d ${WRKDIR}/${i}
.endfor

do-install:
    ${MKDIR} ${EXAMPLESDIR}
    (cd  ${WRKDIR} && ${INSTALL_DATA} ${STACKS} ${EXAMPLESDIR}/)

.include <bsd.port.mk>