diff options
author | Dima Dorfman <dd@FreeBSD.org> | 2001-06-25 01:18:36 +0800 |
---|---|---|
committer | Dima Dorfman <dd@FreeBSD.org> | 2001-06-25 01:18:36 +0800 |
commit | 85df8a48dc430adc6e1a4ef6ec14ec887b77c8ea (patch) | |
tree | b3d9f11aee17b6f5c8dfb8980340c27f608bcf1e /misc/shuffle | |
parent | c4aff420533484486d83a3b47471bc30b99c5c4f (diff) | |
download | freebsd-ports-gnome-85df8a48dc430adc6e1a4ef6ec14ec887b77c8ea.tar.gz freebsd-ports-gnome-85df8a48dc430adc6e1a4ef6ec14ec887b77c8ea.tar.zst freebsd-ports-gnome-85df8a48dc430adc6e1a4ef6ec14ec887b77c8ea.zip |
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.
Diffstat (limited to 'misc/shuffle')
-rw-r--r-- | misc/shuffle/Makefile | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/misc/shuffle/Makefile b/misc/shuffle/Makefile index e8bb6e889eff..fad1d1b4aa42 100644 --- a/misc/shuffle/Makefile +++ b/misc/shuffle/Makefile @@ -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. |