Date: Tue, 20 Jun 2017 09:01:28 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r443945 - head/x11/xtrlock Message-ID: <201706200901.v5K91SOp034603@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706200901.v5K91SOp034603>