aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/libdockapp/Makefile
blob: 6d32099ae8047f377c1df3c41dcb4e832c35134c (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
51
52
# New ports collection makefile for:    DockApp Library
# Date created:     17 July 1999
# Whom:         Jim Mock <jim@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   libdockapp
PORTVERSION=    0.6.1
PORTREVISION=   2
CATEGORIES= x11-wm
MASTER_SITES=   http://solfertje.student.utwente.nl/~dalroi/libdockapp/files/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Standard library for Window Maker dock apps

WRKSRC=     ${WRKDIR}/${PORTNAME:S/^lib//}-${PORTVERSION}

USE_AUTOTOOLS=  libtool:15
USE_BZIP2=  yes
USE_X_PREFIX=   yes
USE_XPM=    yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --without-font --without-examples
INSTALLS_SHLIB= yes

post-patch:
    @${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
        ${WRKSRC}/configure

post-install:
    @${MKDIR} ${PREFIX}/lib/X11/fonts/dockapp
.for file in fonts.alias fonts.dir *.pcf.gz
    ${INSTALL_DATA} ${WRKSRC}/fonts/${file} ${PREFIX}/lib/X11/fonts/dockapp
.endfor
.if !defined(NOPORTDOCS)
    @${MKDIR} ${EXAMPLESDIR}
.for file in README
    ${INSTALL_DATA} ${WRKSRC}/examples/${file} ${EXAMPLESDIR}
.endfor
    @${MKDIR} ${EXAMPLESDIR}/basic
.for file in Imakefile README *.c *.xpm
    ${INSTALL_DATA} ${WRKSRC}/examples/basic/${file} ${EXAMPLESDIR}/basic
.endfor
    @${MKDIR} ${EXAMPLESDIR}/rectangles
.for file in Imakefile *.c
    ${INSTALL_DATA} ${WRKSRC}/examples/rectangles/${file} ${EXAMPLESDIR}/rectangles
.endfor
.endif

.include <bsd.port.mk>