Lines 3-12
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= xmris |
4 |
PORTNAME= xmris |
5 |
PORTVERSION= 4.04 |
5 |
PORTVERSION= 4.04 |
6 |
PORTREVISION= 3 |
6 |
PORTREVISION= 4 |
7 |
CATEGORIES= games |
7 |
CATEGORIES= games |
8 |
MASTER_SITES= ${MASTER_SITE_XCONTRIB} |
8 |
MASTER_SITES= XCONTRIB/games |
9 |
MASTER_SITE_SUBDIR= games |
|
|
10 |
DISTNAME= ${PORTNAME}.${PORTVERSION} |
9 |
DISTNAME= ${PORTNAME}.${PORTVERSION} |
11 |
|
10 |
|
12 |
MAINTAINER= ports@FreeBSD.org |
11 |
MAINTAINER= ports@FreeBSD.org |
Lines 14-30
Link Here
|
14 |
|
13 |
|
15 |
USES= imake tar:tgz |
14 |
USES= imake tar:tgz |
16 |
USE_XORG= x11 xext xaw xmu xt sm ice |
15 |
USE_XORG= x11 xext xaw xmu xt sm ice |
17 |
MAKE_FLAGS= XAPPLOADDIR=${PREFIX}/lib/X11/app-defaults -f |
16 |
MAKE_ARGS= XAPPLOADDIR=${PREFIX}/lib/X11/app-defaults |
18 |
ALL_TARGET= xmris xmred |
17 |
ALL_TARGET= xmris xmred |
19 |
MAN6= xmred.6 xmris.6 xmsit.6 |
|
|
20 |
|
18 |
|
21 |
NO_STAGE= yes |
19 |
DESKTOP_ENTRIES="XMRis" "" "" "${PORTNAME}" "" "" |
22 |
post-configure: |
|
|
23 |
cd ${WRKSRC} && ${REINPLACE_CMD} -e 's/MANSUFFIX = 1/MANSUFFIX = 6/' \ |
24 |
-e 's/OWNER = -o games/OWNER = -g games/' \ |
25 |
-e 's/^INSTMRISFLAGS.*/INSTMRISFLAGS = \$(OWNER) -m 2555/' Makefile |
26 |
|
20 |
|
27 |
post-install: |
21 |
post-build: |
28 |
@${CHMOD} g+w ${LOCALBASE}/lib/X11/xmris |
22 |
@${LN} -sf Xmris-ad.src ${WRKSRC}/Xmris |
|
|
23 |
|
24 |
do-install: |
25 |
.for i in xmred xmris |
26 |
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${i} \ |
27 |
${STAGEDIR}${PREFIX}/bin) |
28 |
.endfor |
29 |
@${LN} -sf xmris ${STAGEDIR}${PREFIX}/bin/xmsit |
30 |
.for i in xmred xmris |
31 |
(cd ${WRKSRC} && ${INSTALL_MAN} ${i}.man \ |
32 |
${STAGEDIR}${MANPREFIX}/man/man6/${i}.6) |
33 |
.endfor |
34 |
@${LN} -sf xmris.6 ${STAGEDIR}${MANPREFIX}/man/man6/xmsit.6 |
35 |
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/app-defaults |
36 |
(cd ${WRKSRC} && ${INSTALL_DATA} Xmris \ |
37 |
${STAGEDIR}${PREFIX}/lib/X11/app-defaults) |
38 |
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/app-defaults/xmris |
39 |
(cd ${WRKSRC} && ${INSTALL_DATA} *.gdn \ |
40 |
${STAGEDIR}${PREFIX}/lib/X11/app-defaults/xmris) |
41 |
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/xmris |
29 |
|
42 |
|
30 |
.include <bsd.port.mk> |
43 |
.include <bsd.port.mk> |