aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/alloywm
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/alloywm')
-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