svn commit: r443945 - head/x11/xtrlock
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Jun 20 09:01:29 UTC 2017
Author: amdmi3
Date: Tue Jun 20 09:01:27 2017
New Revision: 443945
URL: https://svnweb.freebsd.org/changeset/ports/443945
Log:
- Add LICENSE_FILE
- Switch to USES=localbase
- Simplify installation, cosmetic fixes
- Update WWW
Added:
head/x11/xtrlock/pkg-plist (contents, props changed)
Modified:
head/x11/xtrlock/Makefile
head/x11/xtrlock/pkg-descr
Modified: head/x11/xtrlock/Makefile
==============================================================================
--- head/x11/xtrlock/Makefile Tue Jun 20 07:12:02 2017 (r443944)
+++ head/x11/xtrlock/Makefile Tue Jun 20 09:01:27 2017 (r443945)
@@ -11,30 +11,25 @@ MAINTAINER= ports at FreeBSD.org
COMMENT= X Transparent Lock
LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/GPL-3.txt
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+USES= localbase
USE_XORG= x11
-CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib -lX11 -lcrypt
+LIBS+= -lX11 -lcrypt
-PLIST_FILES= bin/xtrlock man/man1/${PORTNAME}.1.gz
-BINMODE= 4555
-
-post-extract:
- @${LN} -sf xtrlock.man ${WRKSRC}/xtrlock.1
-
post-patch:
@${REINPLACE_CMD} -e \
's|<crypt.h>|<unistd.h>| ; \
s|<values.h>|<limits.h>|' ${WRKSRC}/xtrlock.c
do-build:
- (cd ${WRKSRC} && ${CC} ${CFLAGS} -o xtrlock xtrlock.c ${LDFLAGS})
+ (cd ${WRKSRC} && ${CC} ${CFLAGS} -o xtrlock xtrlock.c ${LDFLAGS} ${LIBS})
do-install:
- (cd ${WRKSRC} && ${INSTALL_PROGRAM} xtrlock ${STAGEDIR}${PREFIX}/bin)
- (cd ${WRKSRC} && ${INSTALL_MAN} xtrlock.1 ${STAGEDIR}${MANPREFIX}/man/man1)
+ ${INSTALL_PROGRAM} ${WRKSRC}/xtrlock ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/xtrlock.man ${STAGEDIR}${MANPREFIX}/man/man1/${PORTNAME}.1
.include <bsd.port.mk>
Modified: head/x11/xtrlock/pkg-descr
==============================================================================
--- head/x11/xtrlock/pkg-descr Tue Jun 20 07:12:02 2017 (r443944)
+++ head/x11/xtrlock/pkg-descr Tue Jun 20 09:01:27 2017 (r443945)
@@ -1,3 +1,3 @@
A minimal xlock with minimum usage of resources.
-WWW: http://packages.qa.debian.org/x/xtrlock.html
+WWW: https://packages.qa.debian.org/x/xtrlock.html
Added: head/x11/xtrlock/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/xtrlock/pkg-plist Tue Jun 20 09:01:27 2017 (r443945)
@@ -0,0 +1,2 @@
+@(,,4555) bin/xtrlock
+man/man1/xtrlock.1.gz
More information about the svn-ports-all
mailing list