diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2013-12-23 21:58:13 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2013-12-23 21:58:13 +0800 |
commit | d7d588362533f554af5a80e33240e4f5d2f7a264 (patch) | |
tree | d95f40bfaed54cf43161e5fd1f2b1a0803ff3cbc /sysutils/readlink | |
parent | df029a17ce5f58962d393172bb78d60e18ee4799 (diff) | |
download | freebsd-ports-gnome-d7d588362533f554af5a80e33240e4f5d2f7a264.tar.gz freebsd-ports-gnome-d7d588362533f554af5a80e33240e4f5d2f7a264.tar.zst freebsd-ports-gnome-d7d588362533f554af5a80e33240e4f5d2f7a264.zip |
- Support staging
Diffstat (limited to 'sysutils/readlink')
-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. |