aboutsummaryrefslogtreecommitdiffstats
path: root/x11/wmdrawer/Makefile
blob: 05c48468797dad5c490322b0d701851385af2293 (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
# ex:ts=8
# Ports collection makefile for:    wmDrawer
# Date created:         Apr 6, 2003
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   wmdrawer
PORTVERSION=    0.9.17.1
PORTREVISION=   2
CATEGORIES= x11 windowmaker
MASTER_SITES=   http://people.easter-eggs.org/~valos/wmdrawer/:tarball \
        http://www.daemon.li/downloads/:pixmap
DISTNAME=   ${PORTNAME}-${PORTVERSION}
DISTFILES=  ${EXTRACT_ONLY}:tarball \
        daemon.xpm:pixmap
EXTRACT_ONLY=   ${DISTNAME}${EXTRACT_SUFX}

MAINTAINER= j.el-rayes@daemon.li
COMMENT=    A dockapp which provides a drawer to launch applications

LIB_DEPENDS=    gnugetopt.1:${PORTSDIR}/devel/libgnugetopt

USE_REINPLACE=  yes
USE_X_PREFIX=   yes
USE_GNOME=  gtk20
USE_GMAKE=  yes
CFLAGS+=    -I${LOCALBASE}/include
MAKE_ENV=   LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" DOCSDIR=${DOCSDIR}

MANCOMPRESSED=  yes
MAN1=   wmdrawer.1x

post-patch:
    @${REINPLACE_CMD} -e "s,%%DATADIR%%,${DATADIR},g" ${WRKSRC}/wmdrawerrc.example

post-install:
    @${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${DISTDIR}/daemon.xpm ${DATADIR}

.include <bsd.port.mk>