summaryrefslogtreecommitdiff
path: root/x11/swarp
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2011-03-25 11:49:29 +0000
committerMartin Wilke <miwi@FreeBSD.org>2011-03-25 11:49:29 +0000
commit904047b61fa673a0d2755ad94766960e60146653 (patch)
treee3a44aa0be166246965718d8c56b6cd46e7d9b36 /x11/swarp
parent- Update to 1.5.6 (diff)
- Remove DEPRECATED
- Update MASTER_SITES and WWW: line - Add LICENSE - Pet Portlint PR: 155841 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=271692
Diffstat (limited to 'x11/swarp')
-rw-r--r--x11/swarp/Makefile17
-rw-r--r--x11/swarp/pkg-descr2
2 files changed, 9 insertions, 10 deletions
diff --git a/x11/swarp/Makefile b/x11/swarp/Makefile
index 21b6ce4a500c..81fae8530c46 100644
--- a/x11/swarp/Makefile
+++ b/x11/swarp/Makefile
@@ -9,26 +9,25 @@ PORTNAME= swarp
PORTVERSION= 0.1
PORTREVISION= 1
CATEGORIES= x11
-MASTER_SITES= http://www.suckless.org/download/ \
- http://mirror.roe.ch/dist/${PORTNAME}/
+MASTER_SITES= http://dl.suckless.org/tools/
MAINTAINER= ports@FreeBSD.org
COMMENT= X11 generic pointer warping utility
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USE_XORG= x11
MAKE_ARGS= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lX11" \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include \
-DVERSION=\\\"${PORTVERSION}\\\"" \
- LD=${CC}
-
-DEPRECATED= Upstream disapear and distfile is no more available
-EXPIRATION_DATE= 2011-05-01
+ LD="${CC}"
-USE_XORG= x11
-PLIST_FILES= bin/swarp
PORTDOCS= README
+PLIST_FILES= bin/swarp
post-patch:
- @${ECHO} -n > ${WRKSRC}/config.mk
+ @${ECHO_CMD} -n > ${WRKSRC}/config.mk
post-install:
.if !defined(NOPORTDOCS)
diff --git a/x11/swarp/pkg-descr b/x11/swarp/pkg-descr
index 1eccfe44db32..41575afa3b97 100644
--- a/x11/swarp/pkg-descr
+++ b/x11/swarp/pkg-descr
@@ -3,4 +3,4 @@ It allows you to place the pointer to arbitrary x/y coordinates,
for instance from within scripts. It is especially useful in
conjunction with scripted window managers such as wmii.
-WWW: http://www.suckless.org/wiki/tools/xlib
+WWW: http://tools.suckless.org/swarp