Lines 6-27
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= lwm |
8 |
PORTNAME= lwm |
9 |
PORTVERSION= 1.2.1 |
9 |
PORTVERSION= 1.2.2 |
10 |
PORTREVISION= 2 |
|
|
11 |
CATEGORIES= x11-wm |
10 |
CATEGORIES= x11-wm |
12 |
MASTER_SITES= http://www.jfc.org.uk/files/lwm/ |
11 |
MASTER_SITES= http://www.jfc.org.uk/files/lwm/ |
13 |
|
12 |
|
14 |
MAINTAINER= ports@FreeBSD.org |
13 |
MAINTAINER= ports@FreeBSD.org |
15 |
COMMENT= A lightweight window manager |
14 |
COMMENT= A lightweight window manager |
16 |
|
15 |
|
17 |
USE_IMAKE= yes |
|
|
18 |
USE_XORG= sm x11 xext |
16 |
USE_XORG= sm x11 xext |
|
|
17 |
MAKEFILE= no_xmkmf_makefile |
18 |
MAKE_ARGS= LDFLAGS="${LDFLAGS}" |
19 |
|
19 |
|
20 |
MAN1= lwm.1 |
20 |
MAN1= ${PORTNAME}.1 |
21 |
PORTDOCS= AUTHORS BUGS ChangeLog README TODO |
21 |
PORTDOCS= AUTHORS BUGS ChangeLog README TODO |
22 |
PLIST_FILES= bin/lwm |
22 |
PLIST_FILES= bin/${PORTNAME} |
23 |
|
23 |
|
24 |
post-install: |
24 |
CFLAGS+= `pkg-config --cflags sm x11 xext` -DSHAPE |
|
|
25 |
LDFLAGS= `pkg-config --libs sm x11 xext` |
26 |
|
27 |
post-patch: |
28 |
@${LN} -sf ${PORTNAME}.man ${WRKSRC}/${PORTNAME}.1 |
29 |
|
30 |
do-install: |
31 |
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin |
32 |
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1 |
25 |
.if !defined(NOPORTDOCS) |
33 |
.if !defined(NOPORTDOCS) |
26 |
@${MKDIR} ${DOCSDIR} |
34 |
@${MKDIR} ${DOCSDIR} |
27 |
.for file in ${PORTDOCS} |
35 |
.for file in ${PORTDOCS} |