aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/popup-stacks/Makefile
blob: 1c3ae66cb66d846662fab03c7231ee8e39e083da (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
# $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

LICENSE=    GPLv2

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>