1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

Replace the non-scalable way of determining the man page name (the

Makefile in the package honors NOMANCOMPRESS itself) with a much
better one mostly suggested by roam@.

While I'm here fix my e-mail address.
This commit is contained in:
Dima Dorfman 2001-06-24 17:18:36 +00:00
parent c4aff42053
commit 85df8a48dc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44385
2 changed files with 22 additions and 12 deletions

View File

@ -12,21 +12,26 @@ MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www.unixfreak.org/~dima/distfiles/
MASTER_SITE_SUBDIR= dd
MAINTAINER= dima@unixfreak.org
MAINTAINER= dd@FreeBSD.org
MANSECTS= 1
MAN1= mg.1
MANCOMPRESSED= maybe
# This isn't very scalable, but I'm lazy..
.if defined(NOMANCOMPRESS)
MANNAME= mg.1
# MAN page COMPression SUFFIX
.if !defined(NOMANCOMPRESS)
MANCOMPSUFFIX= .gz
.else
MANNAME= mg.1.gz
MANCOMPSUFFIX=
.endif
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/mg ${PREFIX}/bin/mg
@${INSTALL_MAN} ${WRKSRC}/${MANNAME} ${PREFIX}/man/man1
.for __s in ${MANSECTS}
.for __m in ${MAN${__s}:S/$/${MANCOMPSUFFIX}/}
@${INSTALL_MAN} ${WRKSRC}/${__m} ${PREFIX}/man/man${__s}/${__m}
.endfor
.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/mg
@${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/tutorial \

View File

@ -12,21 +12,26 @@ MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www.unixfreak.org/~dima/distfiles/
MASTER_SITE_SUBDIR= dd
MAINTAINER= dima@unixfreak.org
MAINTAINER= dd@FreeBSD.org
MANSECTS= 1
MAN1= shuffle.1
MANCOMPRESSED= maybe
# This isn't very scalable, but I'm lazy..
.if defined(NOMANCOMPRESS)
MANNAME= shuffle.1
# MAN page COMPression SUFFIX
.if !defined(NOMANCOMPRESS)
MANCOMPSUFFIX= .gz
.else
MANNAME= shuffle.1.gz
MANCOMPSUFFIX=
.endif
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/shuffle ${PREFIX}/bin/shuffle
@${INSTALL_MAN} ${WRKSRC}/${MANNAME} ${PREFIX}/man/man1
.for __s in ${MANSECTS}
.for __m in ${MAN${__s}:S/$/${MANCOMPSUFFIX}/}
@${INSTALL_MAN} ${WRKSRC}/${__m} ${PREFIX}/man/man${__s}/${__m}
.endfor
.endfor
#
# Ports build/install stuff stops here. Tarball creation stuff begins here.