aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/dfm/Makefile
blob: b3dbc0f8d676f9e45808fcb941236c69e2b39998 (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
46
47
48
49
50
# New ports collection makefile for:    dfm
# Version required:         0.9.8
# Date created:             25 May 1998
# Whom:                 Andrey Zakhvatov
#
# $Id: Makefile,v 1.1.1.1 1998/06/11 03:41:58 mph Exp $
#

DISTNAME=   dfm-0.9.8
CATEGORIES= x11
MASTER_SITES=   http://www-c.informatik.uni-hannover.de/~kaiser/dfm/

MAINTAINER= andy@icc.surw.chel.su

LIB_DEPENDS=    Xpm\\.4\\.:${PORTSDIR}/graphics/xpm \
        xforms\\.0\\.:${PORTSDIR}/x11/xforms

USE_X_PREFIX=   yes

WRKSRC=     ${WRKDIR}/dfm

MAN1=       dfm.1

do-configure:
    @ cd ${WRKSRC}; ./config

do-install:
    @ ${INSTALL_PROGRAM} ${WRKSRC}/dfm ${PREFIX}/bin
    @ ${INSTALL_MAN} ${WRKSRC}/dfm.1x ${PREFIX}/man/man1/dfm.1
    @ ${MKDIR} ${PREFIX}/share/dfm
    @ ${MKDIR} ${PREFIX}/share/dfm/backgrounds
    @ ${INSTALL_DATA} ${WRKSRC}/share/backgrounds/*.xpm ${PREFIX}/share/dfm/backgrounds
    @ ${MKDIR} ${PREFIX}/share/dfm/icons
    @ ${INSTALL_DATA} ${WRKSRC}/share/icons/*.xpm ${PREFIX}/share/dfm/icons
    @ ${MKDIR} ${PREFIX}/share/dfm/icons/Appicons
    @ ${INSTALL_DATA} ${WRKSRC}/share/icons/Appicons/*.xpm ${PREFIX}/share/dfm/icons/Appicons
    @ ${MKDIR} ${PREFIX}/share/dfm/icons/Moreicons
    @ ${INSTALL_DATA} ${WRKSRC}/share/icons/Moreicons/*.xpm ${PREFIX}/share/dfm/icons/Moreicons
    @ ${MKDIR} ${PREFIX}/share/examples/dfm
    @ ${INSTALL_DATA} ${WRKSRC}/extensions/dfmext_local ${PREFIX}/share/examples/dfm/dfmext.sample.local
    @ ${INSTALL_DATA} ${WRKSRC}/extensions/dfmext_normal ${PREFIX}/share/examples/dfm/dfmext.sample.normal
    @ ${INSTALL_DATA} ${WRKSRC}/extensions/dfmext_user ${PREFIX}/share/examples/dfm/dfmext.sample.user
.if !defined(NOPORTDOCS)
    @ ${MKDIR} ${PREFIX}/share/doc/dfm
.for file in ANNOUNCE BUGS COPYING COPYRIGHT CREDITS HELP.ERROR NO_WARRANTY README START TESTED TODO
    @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/dfm
.endfor
.endif

.include <bsd.port.mk>