aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2004-02-09 17:05:43 +0800
committerijliao <ijliao@FreeBSD.org>2004-02-09 17:05:43 +0800
commite737835f358f32e433a34ae1e0a83fcea9dd4a38 (patch)
treecb857dac71782b234c2792463d224d05cd8489ed /x11-toolkits
parent8e2e35659085d237eaa0dc562bda049b8fabb81a (diff)
downloadfreebsd-ports-gnome-e737835f358f32e433a34ae1e0a83fcea9dd4a38.tar.gz
freebsd-ports-gnome-e737835f358f32e433a34ae1e0a83fcea9dd4a38.tar.zst
freebsd-ports-gnome-e737835f358f32e433a34ae1e0a83fcea9dd4a38.zip
installs include files
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/wmapp/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/x11-toolkits/wmapp/Makefile b/x11-toolkits/wmapp/Makefile
index 6f21b31684b6..b6c2cfaf2ae5 100644
--- a/x11-toolkits/wmapp/Makefile
+++ b/x11-toolkits/wmapp/Makefile
@@ -8,26 +8,32 @@
PORTNAME= wmapp
PORTVERSION= 0.0.4.2
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= x11-toolkits windowmaker
MASTER_SITES= http://www.princeton.edu/~kmccarty/downloads/
MAINTAINER= ports@FreeBSD.org
COMMENT= A DockApp Graphics Library
-PLIST_FILES= lib/libwmapp.a
USE_XLIB= yes
+USE_X_PREFIX= yes
USE_REINPLACE= yes
USE_GMAKE= yes
CFLAGS+= -I${X11BASE}/include
MAKE_ENV= LFLAGS="-L. -L${X11BASE}/lib -lXpm -lXext -lX11 -lwmapp"
ALL_TARGET= # empty
+PLIST_FILES= lib/libwmapp.a
post-patch:
@${REINPLACE_CMD} -e "s|export |#export |g" ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e "s|malloc\.h|stdlib.h|g" ${WRKSRC}/xwrapper.h
do-install:
+ @${MKDIR} ${PREFIX}/include/wmapp
+ ${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/wmapp
+ @${FIND} ${PREFIX}/include/wmapp -type f | \
+ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+ @${ECHO_CMD} "@dirrm include/wmapp" >> ${TMPPLIST}
${INSTALL_PROGRAM} ${WRKSRC}/libwmapp.a ${PREFIX}/lib
.include <bsd.port.mk>