aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2004-02-09 09:05:43 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2004-02-09 09:05:43 +0000
commit04b1eb357e3c53eba7d72186b90d5443fd1e68a9 (patch)
treecdecfefa4de2fc72b0f775aa5ffd37471cca9bff /x11-toolkits
parentace23ce3ab1e59e1fbcbc410b162bf39c790831b (diff)
downloadports-04b1eb357e3c53eba7d72186b90d5443fd1e68a9.tar.gz
ports-04b1eb357e3c53eba7d72186b90d5443fd1e68a9.zip
installs include files
Notes
Notes: svn path=/head/; revision=100474
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>