Lines 1-29
Link Here
|
1 |
# New ports collection makefile for: xtrlock |
1 |
# Created by: Alexey Mikhailov <karma@ez.pereslavl.ru> |
2 |
# Date created: 18 May 2004 |
|
|
3 |
# Whom: Alexey Mikhailov <karma@ez.pereslavl.ru> |
4 |
# |
5 |
# $FreeBSD: head/x11/xtrlock/Makefile 300897 2012-07-14 14:29:18Z beat $ |
2 |
# $FreeBSD: head/x11/xtrlock/Makefile 300897 2012-07-14 14:29:18Z beat $ |
6 |
# |
|
|
7 |
|
3 |
|
8 |
PORTNAME= xtrlock |
4 |
PORTNAME= xtrlock |
9 |
PORTVERSION= 2.0.14 |
5 |
PORTVERSION= 2.2 |
10 |
CATEGORIES= x11 |
6 |
CATEGORIES= x11 |
11 |
MASTER_SITES= ${MASTER_SITE_DEBIAN} |
7 |
MASTER_SITES= DEBIAN |
12 |
MASTER_SITE_SUBDIR= pool/main/x/xtrlock/ |
8 |
DISTNAME= ${PORTNAME}_${PORTVERSION} |
13 |
DISTNAME= ${PORTNAME}_2.0-${PORTVERSION:E} |
|
|
14 |
|
9 |
|
15 |
MAINTAINER= ports@FreeBSD.org |
10 |
MAINTAINER= ports@FreeBSD.org |
16 |
COMMENT= X Transparent Lock |
11 |
COMMENT= X Transparent Lock |
17 |
|
12 |
|
18 |
LICENSE= GPLv2 # or higher |
13 |
LICENSE= GPLv2 # (or later) |
19 |
LICENSE_FILE= ${WRKSRC}/debian/copyright |
14 |
|
|
|
15 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
20 |
|
16 |
|
21 |
USE_XORG= x11 |
17 |
USE_XORG= x11 |
22 |
|
18 |
|
23 |
WRKSRC= ${WRKDIR}/${PORTNAME}-2.0 |
19 |
CFLAGS+= -I${LOCALBASE}/include |
24 |
MAKEFILE= ${FILESDIR}/Makefile |
20 |
LDFLAGS+= -L${LOCALBASE}/lib -lX11 -lcrypt |
25 |
|
21 |
|
26 |
MAN1= xtrlock.1 |
22 |
MAN1= xtrlock.1 |
27 |
PLIST_FILES= bin/xtrlock |
23 |
PLIST_FILES= bin/xtrlock |
28 |
|
24 |
|
|
|
25 |
post-extract: |
26 |
@${LN} -sf xtrlock.man ${WRKSRC}/xtrlock.1 |
27 |
|
28 |
post-patch: |
29 |
@${REINPLACE_CMD} -e \ |
30 |
's|<crypt.h>|<unistd.h>| ; \ |
31 |
s|<values.h>|<limits.h>|' ${WRKSRC}/xtrlock.c |
32 |
|
33 |
do-build: |
34 |
(cd ${WRKSRC} && ${CC} ${CFLAGS} -o xtrlock xtrlock.c ${LDFLAGS}) |
35 |
|
36 |
do-install: |
37 |
(cd ${WRKSRC} && ${INSTALL_PROGRAM} xtrlock ${PREFIX}/bin) |
38 |
(cd ${WRKSRC} && ${INSTALL_MAN} xtrlock.1 ${MANPREFIX}/man/man1) |
39 |
|
29 |
.include <bsd.port.mk> |
40 |
.include <bsd.port.mk> |