diff options
author | markp <markp@FreeBSD.org> | 2002-11-19 11:52:40 +0000 |
---|---|---|
committer | markp <markp@FreeBSD.org> | 2002-11-19 11:52:40 +0000 |
commit | e22947564f264f0dda88cbcc52755950a2d4b98c (patch) | |
tree | 9cad57308a10c374caf353f6ad00e5f055c9c3d4 /games/conquest | |
parent | 2c69f068f06febc09514626feebcba6891d7d618 (diff) | |
download | FreeBSD-ports-e22947564f264f0dda88cbcc52755950a2d4b98c.zip FreeBSD-ports-e22947564f264f0dda88cbcc52755950a2d4b98c.tar.gz |
Update to 7.1.2.
PR: 45256
Submitted by: Mark Linimon <linimon@lonesome.com>
Diffstat (limited to 'games/conquest')
-rw-r--r-- | games/conquest/Makefile | 19 | ||||
-rw-r--r-- | games/conquest/distinfo | 2 | ||||
-rw-r--r-- | games/conquest/pkg-install | 3 | ||||
-rw-r--r-- | games/conquest/pkg-plist | 1 |
4 files changed, 8 insertions, 17 deletions
diff --git a/games/conquest/Makefile b/games/conquest/Makefile index 33da3b1..3ece40a 100644 --- a/games/conquest/Makefile +++ b/games/conquest/Makefile @@ -6,7 +6,7 @@ # PORTNAME= conquest -PORTVERSION= 7.1.1 +PORTVERSION= 7.1.2 CATEGORIES= games MASTER_SITES= http://www.radscan.com/conquest/ EXTRACT_SUFX= .src.tar.gz @@ -14,24 +14,18 @@ EXTRACT_SUFX= .src.tar.gz MAINTAINER= markp@FreeBSD.org GNU_CONFIGURE= yes +CONFIGURE_ARGS= --sysconfdir=${LOCALBASE}/etc/conquest \ + --datadir=${LOCALBASE}/share/conquest \ + --localstatedir=/var/games USE_REINPLACE= yes BINGRP= conquest SHAREGRP= conquest post-patch: - ${REINPLACE_CMD} -e "s|@prefix@/conquest|@prefix@|g; \ - s|^.*@chgrp .(CONQGROUP) conq.*||g; \ + ${REINPLACE_CMD} -e "s|^.*@chgrp .(CONQGROUP) conq.*||g; \ s|^.*@chmod 2771 conq.*||g;" ${WRKSRC}/Makefile.in ${REINPLACE_CMD} -e "s/# include <termio.h>//g" ${WRKSRC}/c_defs.h ${REINPLACE_CMD} -e "s/-O2 -fPIC//g" ${WRKSRC}/configure - ${REINPLACE_CMD} -e "s|/opt/conquest|${PREFIX}|g; \ - s|etc/conquestrc|etc/conquest/conquestrc|g; \ - s|bin/conqdriv|libexec/conqdriv|g; \ - s|etc/conquest_common.img|etc/conquest/conquest_common.img|g; \ - s|etc/conquest.log|share/conquest/conquest.log|g; \ - s|etc/conqnews.doc|share/conquest/conqnews.doc|g; \ - s|etc/conquest.doc|share/conquest/conquest.doc|g;" \ - ${WRKSRC}/defs.h ${WRKSRC}/conf.h ${WRKSRC}/README do-install: @${SH} pkg-install ${PORTNAME} PRE-INSTALL @@ -49,8 +43,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/conquest.doc ${PREFIX}/share/conquest .if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/share/doc/conquest - ${INSTALL_DATA} ${WRKSRC}/SERVER.DOC ${WRKSRC}/README \ - ${PREFIX}/share/doc/conquest + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/conquest .endif @${SH} pkg-install ${PORTNAME} POST-INSTALL diff --git a/games/conquest/distinfo b/games/conquest/distinfo index 8390512..35edf6b 100644 --- a/games/conquest/distinfo +++ b/games/conquest/distinfo @@ -1 +1 @@ -MD5 (conquest-7.1.1.src.tar.gz) = c02891f6c0c4b8c73a82c1c8185e3025 +MD5 (conquest-7.1.2.src.tar.gz) = 75b5ac1ca0f717c0f0c933b60580c5fc diff --git a/games/conquest/pkg-install b/games/conquest/pkg-install index 8af060b..2df17c8 100644 --- a/games/conquest/pkg-install +++ b/games/conquest/pkg-install @@ -12,8 +12,7 @@ case "$2" in fi ;; POST-INSTALL) - chown root:conquest ${PREFIX}/etc/conquest - chmod 775 ${PREFIX}/etc/conquest + install -d -o root -g conquest -m 770 /var/games/conquest ;; *) echo "Incorrect parameter" diff --git a/games/conquest/pkg-plist b/games/conquest/pkg-plist index 00c6ff5..3ea2b1d 100644 --- a/games/conquest/pkg-plist +++ b/games/conquest/pkg-plist @@ -7,7 +7,6 @@ sbin/conqstrat share/conquest/conqnews.doc.sample share/conquest/conquest.doc %%PORTDOCS%%share/doc/conquest/README -%%PORTDOCS%%share/doc/conquest/SERVER.DOC %%PORTDOCS%%@dirrm share/doc/conquest @dirrm etc/conquest @dirrm share/conquest |