View | Details | Raw Unified | Return to bug 51678
Collapse All | Expand All

(-)wmdrawer/Makefile (-6 / +6 lines)
Lines 3-9 Link Here
3
# Date created:			Apr 6, 2003
3
# Date created:			Apr 6, 2003
4
# Whom:				ijliao
4
# Whom:				ijliao
5
#
5
#
6
# $FreeBSD: ports/x11/wmdrawer/Makefile,v 1.5 2003/04/23 12:39:51 arved Exp $
6
# $FreeBSD: ports/x11/wmdrawer/Makefile,v 1.3 2003/04/08 15:49:56 ijliao Exp $
7
#
7
#
8
8
9
PORTNAME=	wmdrawer
9
PORTNAME=	wmdrawer
Lines 14-20 Link Here
14
		http://www.daemon.li/downloads/:pixmap
14
		http://www.daemon.li/downloads/:pixmap
15
DISTNAME=	${PORTNAME}-${PORTVERSION}
15
DISTNAME=	${PORTNAME}-${PORTVERSION}
16
DISTFILES=	${EXTRACT_ONLY}:tarball \
16
DISTFILES=	${EXTRACT_ONLY}:tarball \
17
		daemon.xpm:pixmap
17
		daemon.png:pixmap
18
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
18
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
19
19
20
MAINTAINER=	j.el-rayes@daemon.li
20
MAINTAINER=	j.el-rayes@daemon.li
Lines 26-44 Link Here
26
USE_X_PREFIX=	yes
26
USE_X_PREFIX=	yes
27
USE_GNOME=	gtk20 gdkpixbuf
27
USE_GNOME=	gtk20 gdkpixbuf
28
USE_GMAKE=	yes
28
USE_GMAKE=	yes
29
CFLAGS+=	-I${LOCALBASE}/include `gdk-pixbuf-config --cflags`
29
CFLAGS+=	-O -I${LOCALBASE}/include
30
CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt `gdk-pixbuf-config --libs` -lgdk_pixbuf_xlib" DOCSDIR=${DOCSDIR}
31
30
32
MANCOMPRESSED=	yes
31
MANCOMPRESSED=	yes
33
MAN1=	wmdrawer.1x
32
MAN1=	wmdrawer.1x
34
33
35
post-patch:
34
post-patch:
36
	@${REINPLACE_CMD} -e "s,/usr/X11R6,${X11BASE},g" ${WRKSRC}/Makefile
37
	@${REINPLACE_CMD} -e "s,$$[(]DESTDIR[)]/usr/local,${PREFIX},g" ${WRKSRC}/Makefile
35
	@${REINPLACE_CMD} -e "s,$$[(]DESTDIR[)]/usr/local,${PREFIX},g" ${WRKSRC}/Makefile
38
	@${REINPLACE_CMD} -e "s,%%DATADIR%%,${DATADIR},g" ${WRKSRC}/wmdrawerrc.example
36
	@${REINPLACE_CMD} -e "s,%%DATADIR%%,${DATADIR},g" ${WRKSRC}/wmdrawerrc.example
37
	@${REINPLACE_CMD} -e "s,CFLAGS =,CFLAGS +=,g" ${WRKSRC}/Makefile
38
	@${REINPLACE_CMD} -e "s,LDFLAGS = ,LDFLAGS += -lgnugetopt ,g" ${WRKSRC}/Makefile
39
39
40
post-install:
40
post-install:
41
	@${MKDIR} ${DATADIR}
41
	@${MKDIR} ${DATADIR}
42
	${INSTALL_DATA} ${DISTDIR}/daemon.xpm ${DATADIR}
42
	${INSTALL_DATA} ${DISTDIR}/daemon.png ${DATADIR}
43
43
44
.include <bsd.port.mk>
44
.include <bsd.port.mk>
(-)wmdrawer/distinfo (-1 / +1 lines)
Lines 1-2 Link Here
1
MD5 (wmdrawer-0.10.0.tar.gz) = a12a8ffc04966bf7ddaba2c5ab6a6410
1
MD5 (wmdrawer-0.10.0.tar.gz) = a12a8ffc04966bf7ddaba2c5ab6a6410
2
MD5 (daemon.xpm) = 73f0efeba877d8c4b4cc863f1ef87bd5
2
MD5 (daemon.png) = 06f903b8a644c8c523833747948b54eb
(-)wmdrawer/files/patch-wmdrawerrc.example (-3 / +11 lines)
Lines 1-11 Link Here
1
--- wmdrawerrc.example.orig	Thu Apr 10 16:36:58 2003
1
--- wmdrawerrc.example.orig	Tue Apr  8 04:00:08 2003
2
+++ wmdrawerrc.example	Thu Apr 10 16:38:54 2003
2
+++ wmdrawerrc.example	Fri May  2 00:41:14 2003
3
@@ -1,7 +1,7 @@
3
@@ -1,7 +1,7 @@
4
 # Config file example for wmdrawer
4
 # Config file example for wmdrawer
5
 [general]
5
 [general]
6
 # Dock's icon [optional]
6
 # Dock's icon [optional]
7
-#dock_icon	panel-drawer.png
7
-#dock_icon	panel-drawer.png
8
+dock_icon	daemon.xpm
8
+dock_icon	daemon.png
9
 
9
 
10
 # Drawer's opening direction [required]
10
 # Drawer's opening direction [required]
11
 # Top to bottom = 0
11
 # Top to bottom = 0
12
@@ -75,6 +75,7 @@
13
 [images_paths]
14
 /usr/share/pixmaps
15
 /usr/local/share/pixmaps/
16
+/usr/X11R6/share/wmdrawer
17
 
18
 # A first column with 5 buttons
19
 # Each button must be defined with this syntax:
(-)wmdrawer/pkg-plist (-2 / +2 lines)
Lines 1-6 Link Here
1
share/wmdrawer/daemon.xpm
2
@dirrm share/wmdrawer
3
bin/wmdrawer
1
bin/wmdrawer
2
%%DATADIR%%/daemon.png
4
%%DOCSDIR%%/AUTHORS
3
%%DOCSDIR%%/AUTHORS
5
%%DOCSDIR%%/COPYING
4
%%DOCSDIR%%/COPYING
6
%%DOCSDIR%%/ChangeLog
5
%%DOCSDIR%%/ChangeLog
Lines 9-11 Link Here
9
%%DOCSDIR%%/TODO
8
%%DOCSDIR%%/TODO
10
%%DOCSDIR%%/wmdrawerrc.example
9
%%DOCSDIR%%/wmdrawerrc.example
11
@dirrm %%DOCSDIR%%
10
@dirrm %%DOCSDIR%%
11
@dirrm %%DATADIR%%

Return to bug 51678