aboutsummaryrefslogtreecommitdiffstats
path: root/x11/wmdrawer/Makefile
blob: f98a2ebe27ca652e3e35bba8f57d567075500e43 (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
# Created by: ijliao
# $FreeBSD$

PORTNAME=   wmdrawer
PORTVERSION=    0.10.5
PORTREVISION=   9
CATEGORIES= x11 windowmaker
MASTER_SITES=   http://people.easter-eggs.org/~valos/wmdrawer/:tarball \
        http://wikitest.freebsd.org/wiki/common/:pixmap
DISTFILES=  ${EXTRACT_ONLY}:tarball \
        logo-beastie.png:pixmap
EXTRACT_ONLY=   ${DISTNAME}${EXTRACT_SUFX}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Dockapp which provides a drawer to launch applications

DEPRECATED= No more public distfiles
EXPIRATION_DATE=    2014-02-10

USE_GNOME=  gdkpixbuf
USES=       pkgconfig gmake
CONFIGURE_ENV+= DOCSDIR=${DOCSDIR}
MAKE_ENV+=  ${CONFIGURE_ENV}

SUB_FILES+= pkg-message

post-patch:
    @${REINPLACE_CMD} -e "s,%%DATADIR%%,${DATADIR},g" ${WRKSRC}/wmdrawerrc.example
    @${REINPLACE_CMD} -e "s,CFLAGS = -O3,CFLAGS +=,g; \
        s,LDFLAGS =,LDFLAGS+=,g; s,PREFIX =,#PREFIX =,g; \
        s,$$[(]DESTDIR[)]/usr/local,${PREFIX},g; \
        s,CC =,#CC =,g; \
        s,/usr/X11R6,${LOCALBASE},g" ${WRKSRC}/Makefile

post-install:
    @${MKDIR} ${STAGEDIR}${DATADIR}
    ${INSTALL_DATA} ${DISTDIR}/logo-beastie.png ${STAGEDIR}${DATADIR}/beastie.png

.include <bsd.port.mk>