diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-12-23 13:58:13 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-12-23 13:58:13 +0000 |
commit | ec6d98c075bba3a0bde6621a9e5f60197c2d966d (patch) | |
tree | d95f40bfaed54cf43161e5fd1f2b1a0803ff3cbc /sysutils/readlink/Makefile | |
parent | 332d6b9bd0cfed93b7effe4810b4f769c754e1b0 (diff) | |
download | ports-ec6d98c075bba3a0bde6621a9e5f60197c2d966d.tar.gz ports-ec6d98c075bba3a0bde6621a9e5f60197c2d966d.zip |
Notes
Diffstat (limited to 'sysutils/readlink/Makefile')
-rw-r--r-- | sysutils/readlink/Makefile | 26 |
1 files changed, 5 insertions, 21 deletions
diff --git a/sysutils/readlink/Makefile b/sysutils/readlink/Makefile index f90eba9e0e0f..b08fc1b45dc1 100644 --- a/sysutils/readlink/Makefile +++ b/sysutils/readlink/Makefile @@ -4,33 +4,17 @@ PORTNAME= readlink PORTVERSION= 20010616 CATEGORIES= sysutils -MASTER_SITES= ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= dd +MASTER_SITES= LOCAL/dd MAINTAINER= ports@FreeBSD.org COMMENT= Dereference a symbolic link and print the name of the target -MANSECTS= 1 -MAN1= readlink.1 -MANCOMPRESSED= maybe +PLIST_FILES= bin/readlink \ + man/man1/readlink.1.gz -# MAN page COMPression SUFFIX -.if !defined(NO_MANCOMPRESS) -MANCOMPSUFFIX= .gz -.else -MANCOMPSUFFIX= -.endif - -PLIST_FILES= bin/readlink - -NO_STAGE= yes do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/readlink ${PREFIX}/bin/readlink -.for __s in ${MANSECTS} -.for __m in ${MAN${__s}:S/$/${MANCOMPSUFFIX}/} - @${INSTALL_MAN} ${WRKSRC}/${__m} ${PREFIX}/man/man${__s}/${__m} -.endfor -.endfor + ${INSTALL_PROGRAM} ${WRKSRC}/readlink ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/readlink.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ # # Ports build/install stuff stops here. Tarball creation stuff begins here. |