mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
3e4ed01146
- 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)
38 lines
906 B
Makefile
38 lines
906 B
Makefile
# New ports collection makefile for: wmbutton
|
|
# Date created: 10 Apr 1999
|
|
# Whom: Jim Mock <jim@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= wmbutton
|
|
PORTVERSION= 0.6.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= x11 windowmaker
|
|
MASTER_SITES= http://greek0.net/~greek0/wmbutton/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A dockapp that displays 9 buttons to run apps of your choice
|
|
|
|
USE_XORG= xpm
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
do-build:
|
|
cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} \
|
|
-I${LOCALBASE}/include/X11 -I${LOCALBASE}/include \
|
|
wmb_libs.c wmbutton.c -o wmbutton \
|
|
-L${LOCALBASE}/lib -lXpm -lXext -lX11
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/wmbutton ${PREFIX}/bin/wmbutton
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/.wmbutton ${EXAMPLESDIR}/dot.wmbutton
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|