aboutsummaryrefslogtreecommitdiffstats
path: root/x11/docker/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/docker/Makefile')
-rw-r--r--x11/docker/Makefile26
1 files changed, 20 insertions, 6 deletions
diff --git a/x11/docker/Makefile b/x11/docker/Makefile
index 717702a0db85..eb3c0a65edb2 100644
--- a/x11/docker/Makefile
+++ b/x11/docker/Makefile
@@ -7,20 +7,34 @@
PORTNAME= docker
PORTVERSION= 1.5
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= x11
-MASTER_SITES= http://www.kerneled.org/files/FreeBSD-ports/ \
- http://icculus.org/openbox/2/docker/
+MASTER_SITES= http://offload2.icculus.org:9090/openbox/2/docker/ \
+ http://offload1.icculus.org:9090/openbox/2/docker/
MAINTAINER= ports@FreeBSD.org
COMMENT= A dockapp with support for GNOME2 and KDE3 tray icons
-PLIST_FILES= bin/docker
-USE_GMAKE= yes
+LICENSE= GPLv2 # (or later)
+LICENSE_FILE= ${WRKSRC}/COPYING
+
USE_XORG= x11
USE_GNOME= glib20
+USE_GMAKE= yes
+MAKE_JOBS_SAFE= yes
+
+PLIST_FILES= bin/docker
+
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|^PREFIX=|PREFIX?=| ; \
+ s|^CFLAGS=|CFLAGS?=| ; \
+ s|--cflags glib-2.0|--cflags x11 glib-2.0| ; \
+ s|--libs glib-2.0|--libs x11 glib-2.0| ; \
+ s|-L$$(XLIBPATH)|| ; \
+ s|-lX11||' ${WRKSRC}/Makefile
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.mk>