mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +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)
37 lines
770 B
Makefile
37 lines
770 B
Makefile
# Ports collection makefile for: swarp
|
|
# Date created: 2008-01-15
|
|
# Whom: Daniel Roethlisberger <daniel@roe.ch>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= swarp
|
|
PORTVERSION= 0.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11
|
|
MASTER_SITES= http://www.suckless.org/download/ \
|
|
http://mirror.roe.ch/dist/${PORTNAME}/
|
|
|
|
MAINTAINER= daniel@roe.ch
|
|
COMMENT= X11 generic pointer warping utility
|
|
|
|
MAKE_ARGS= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lX11" \
|
|
CFLAGS="${CFLAGS} -I${LOCALBASE}/include \
|
|
-DVERSION=\\\"${PORTVERSION}\\\"" \
|
|
LD=${CC}
|
|
|
|
USE_XORG= x11
|
|
PLIST_FILES= bin/swarp
|
|
PORTDOCS= README
|
|
|
|
post-patch:
|
|
@${ECHO} -n > ${WRKSRC}/config.mk
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|