2013-04-23 16:20:25 +02:00
|
|
|
# Created by: ijliao
|
2003-04-06 06:38:52 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= wmdrawer
|
2004-10-12 10:43:57 +02:00
|
|
|
PORTVERSION= 0.10.5
|
2014-02-27 10:48:45 +01:00
|
|
|
PORTREVISION= 10
|
2003-04-06 06:38:52 +02:00
|
|
|
CATEGORIES= x11 windowmaker
|
2014-02-27 10:48:45 +01:00
|
|
|
MASTER_SITES= http://people.easter-eggs.org/~valos/wmdrawer/ \
|
|
|
|
http://www.sourcefiles.org/Utilities/Desktops/
|
2003-04-06 06:38:52 +02:00
|
|
|
|
2005-03-15 22:48:31 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-10-13 04:01:16 +02:00
|
|
|
COMMENT= Dockapp which provides a drawer to launch applications
|
2003-04-06 06:38:52 +02:00
|
|
|
|
2014-02-27 10:48:45 +01:00
|
|
|
LICENSE= GPLv2 # (or later)
|
2014-02-10 13:58:54 +01:00
|
|
|
|
2014-02-27 10:48:45 +01:00
|
|
|
USES= gmake pkgconfig
|
|
|
|
USE_GNOME= gdkpixbuf2
|
|
|
|
MAKE_ENV= USE_GDKPIXBUF2=1
|
2003-04-06 06:38:52 +02:00
|
|
|
|
2014-02-27 10:48:45 +01:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
|
|
|
PORTDOCS= AUTHORS ChangeLog INSTALL README TODO wmdrawerrc.example
|
|
|
|
PLIST_FILES= bin/wmdrawer man/man1/wmdrawer.1x.gz %%DATADIR%%/beastie.png
|
|
|
|
PLIST_DIRS= %%DATADIR%%
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS
|
2006-04-14 07:56:16 +02:00
|
|
|
|
2003-04-08 17:49:56 +02:00
|
|
|
post-patch:
|
2014-02-27 10:48:45 +01:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|/usr/local|${LOCALBASE}| ; \
|
|
|
|
s|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/wmdrawerrc.example
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|^\(CC\)|#\1| ; \
|
|
|
|
s|^\(DESTDIR\)|#\1| ; \
|
|
|
|
s|^\(PREFIX\)|#\1| ; \
|
|
|
|
s|^\(USE_\)|#\1| ; \
|
|
|
|
s|^\(CFLAGS\) = -O3|\1 +=| ; \
|
|
|
|
s|^\(LDFLAGS\) =|\1 +=| ; \
|
|
|
|
s|/usr/X11R6|$${LOCALBASE}| ; \
|
|
|
|
s|strip|true| ; \
|
|
|
|
s|$$(INSTALL) -m 755|$${BSD_INSTALL_PROGRAM}| ; \
|
|
|
|
s|$$(INSTALL) -m 644|$${BSD_INSTALL_DATA}| ; \
|
|
|
|
s|COPYING|| ; \
|
|
|
|
/INSTALL/s| \($$(PREFIX)\)| $$(DESTDIR)\1| ; \
|
|
|
|
/INSTALL/s| \($$(MANDIR)\)| $$(DESTDIR)\1| ; \
|
|
|
|
/INSTALL/s| \($$(DOCDIR)\)| $$(DESTDIR)\1|' ${WRKSRC}/Makefile
|
|
|
|
|
|
|
|
post-build:
|
|
|
|
@(cd ${WRKDIR} && uudecode ${FILESDIR}/logo-beastie.png.uue)
|
2003-04-08 17:49:56 +02:00
|
|
|
|
|
|
|
post-install:
|
2014-01-11 11:03:45 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
2014-02-27 10:48:45 +01:00
|
|
|
(cd ${WRKDIR} && ${INSTALL_DATA} logo-beastie.png \
|
|
|
|
${STAGEDIR}${DATADIR}/beastie.png)
|
2003-04-08 17:49:56 +02:00
|
|
|
|
2003-04-06 06:38:52 +02:00
|
|
|
.include <bsd.port.mk>
|