1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/x11/xtrlock/Makefile
Stefan Eßer 3ca492383f x11/xtrlock: Add CPE information
Approved by:	portmgr (blanket)
2021-10-21 17:41:06 +02:00

36 lines
815 B
Makefile

# Created by: Alexey Mikhailov <karma@ez.pereslavl.ru>
PORTNAME= xtrlock
PORTVERSION= 2.15
CATEGORIES= x11
MASTER_SITES= DEBIAN
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= romain@FreeBSD.org
COMMENT= X Transparent Lock
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/GPL-3.txt
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USES= cpe localbase tar:xz xorg
CPE_VENDOR= ${PORTNAME}_project
USE_XORG= x11
LIBS+= -lX11 -lcrypt
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} ${LIBS})
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xtrlock ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/xtrlock.man ${STAGEDIR}${MANPREFIX}/man/man1/${PORTNAME}.1
.include <bsd.port.mk>