aboutsummaryrefslogtreecommitdiffstats
path: root/x11/bricons/Makefile
blob: e0ab0f59206f5b95c3333dc32700301ed270a99d (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
# New ports collection makefile for:    bricons
# Date created:     31 Jul 1996
# Whom:         shanee@augusta.de
#
# $FreeBSD$
#

PORTNAME=   bricons
PORTVERSION=    3.0
CATEGORIES= x11
MASTER_SITES=   ftp://ftp.x.org/R5contrib/ \
        ftp://ftp.freesoftware.com/pub/X11/R5contrib/
DISTNAME=   ${PORTNAME}
EXTRACT_SUFX=   -athena-3.0.tar.gz

MAINTAINER=     shanee@augusta.de

LIB_DEPENDS=    Xpm.4:${PORTSDIR}/graphics/xpm

USE_IMAKE=  yes
MAN1=       bricons.1

post-patch:
    @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/Xbricons

post-install:
    ${INSTALL_DATA} ${WRKSRC}/Xbricons ${PREFIX}/lib/X11/app-defaults
    ${INSTALL_DATA} ${WRKSRC}/bitmaps/* ${PREFIX}/include/X11/bitmaps
    ${INSTALL_DATA} ${WRKSRC}/*.xpm ${PREFIX}/include/X11/pixmaps
    @${ECHO_MSG} ""
    @${ECHO_MSG} "     Use ./files/DOTbriconsrc as an example. This  file"
    @${ECHO_MSG} "     should  be  stored in the same directory as the"
    @${ECHO_MSG} "     program is executed from."
    @${ECHO_MSG} ""

.include <bsd.port.mk>