aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2002-05-14 07:01:02 +0800
committertrevor <trevor@FreeBSD.org>2002-05-14 07:01:02 +0800
commitc53764c194a6524cf25ce1cd3b4747e7c5ae4894 (patch)
tree75aed45bd6660fcd5d92e56eb1439f4f64a50319 /x11-wm
parente7ac132fd620551417149969a140c9b7bfdff9c2 (diff)
downloadfreebsd-ports-gnome-c53764c194a6524cf25ce1cd3b4747e7c5ae4894.tar.gz
freebsd-ports-gnome-c53764c194a6524cf25ce1cd3b4747e7c5ae4894.tar.zst
freebsd-ports-gnome-c53764c194a6524cf25ce1cd3b4747e7c5ae4894.zip
The distfile was re-rolled. The author is now using different names
for himself (Kensuke Otake or Hitokiro Otake rather than Aaron Schoenhals). Many of the command-line options were removed. Add a do-build target in the port's skeleton, to accommodate both old and new distfiles. Reported by: kris
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/alloywm/Makefile12
-rw-r--r--x11-wm/alloywm/distinfo2
2 files changed, 14 insertions, 0 deletions
diff --git a/x11-wm/alloywm/Makefile b/x11-wm/alloywm/Makefile
index 0a2fa0a178bd..1c9e81a3a1cc 100644
--- a/x11-wm/alloywm/Makefile
+++ b/x11-wm/alloywm/Makefile
@@ -23,6 +23,18 @@ pre-configure:
${FIND} ${WRKSRC} \( -name '*.in' -or -name configure \) -exec \
${PERL} -pi -e 's:bash:sh:g ; \
s:gtk-config:${GTK_CONFIG}:g' {} \;
+ ${RM} -f ${WRKSRC}/*/Makefile
+ ${CHMOD} +x ${WRKSRC}/configure
+
+do-build:
+ cd ${WRKSRC}/goodies && gmake
+.for ii in client events main misc new screen widgets
+ cd ${WRKSRC}/src && ${CC} -c ${CFLAGS} -I${X11BASE}/include \
+ ${ii}.c
+.endfor
+ cd ${WRKSRC}/src && ${CC} ${CFLAGS} -DSHAPE -o alloywm \
+ -L${X11BASE}/lib -lXext -lX11 \
+ client.o events.o main.o misc.o new.o screen.o widgets.o
pre-install:
cd ${WRKSRC} && ${FIND} * -type f -perm 755 | cut -f 2 -d / | \
diff --git a/x11-wm/alloywm/distinfo b/x11-wm/alloywm/distinfo
index 7e06bb8037ce..bd4fe1062ceb 100644
--- a/x11-wm/alloywm/distinfo
+++ b/x11-wm/alloywm/distinfo
@@ -1 +1,3 @@
+$FreeBSD$
MD5 (alloywm-0.4.0.tar.gz) = 340ee385f693f4af803c000640249b43
+MD5 (alloywm-0.4.0.tar.gz) = 140d95dc19566ffbeafd7f8a5eb24008