2003-04-03 18:45:57 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: wmapp
|
|
|
|
# Date Created: Apr 3, 2003
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= wmapp
|
2006-07-28 21:45:47 +00:00
|
|
|
PORTVERSION= 0.0.4.3
|
2008-03-25 22:44:48 +00:00
|
|
|
PORTREVISION= 2
|
2003-04-03 18:45:57 +00:00
|
|
|
CATEGORIES= x11-toolkits windowmaker
|
|
|
|
MASTER_SITES= http://www.princeton.edu/~kmccarty/downloads/
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
COMMENT= A DockApp Graphics Library
|
|
|
|
|
2008-03-25 22:44:48 +00:00
|
|
|
USE_XORG= x11 xpm
|
2003-04-03 18:45:57 +00:00
|
|
|
USE_GMAKE= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
2003-04-03 18:45:57 +00:00
|
|
|
ALL_TARGET= # empty
|
2004-02-09 09:05:43 +00:00
|
|
|
PLIST_FILES= lib/libwmapp.a
|
2003-04-03 18:45:57 +00:00
|
|
|
|
|
|
|
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:
|
2004-02-09 09:05:43 +00:00
|
|
|
@${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}
|
2004-02-10 03:23:47 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/libwmapp.a ${PREFIX}/lib
|
2004-02-10 03:33:52 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for file in FAQ.txt README Widgets.txt
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
@${FIND} ${DOCSDIR} -type f | \
|
|
|
|
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
|
|
|
@${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" >> ${TMPPLIST}
|
|
|
|
.endif
|
2003-04-03 18:45:57 +00:00
|
|
|
|
2006-07-28 21:45:47 +00:00
|
|
|
.include <bsd.port.mk>
|