diff options
author | dinoex <dinoex@FreeBSD.org> | 2013-10-28 06:29:46 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2013-10-28 06:29:46 +0800 |
commit | a9ff4b49c10701f4d22eb1a173e03064089672bb (patch) | |
tree | 2f75f2dd22479e7d9e0d627ea798a4d2a036e75f /archivers | |
parent | aa3da1c84cdb0e5dfb190c16f74ea3d9def166a7 (diff) | |
download | freebsd-ports-gnome-a9ff4b49c10701f4d22eb1a173e03064089672bb.tar.gz freebsd-ports-gnome-a9ff4b49c10701f4d22eb1a173e03064089672bb.tar.zst freebsd-ports-gnome-a9ff4b49c10701f4d22eb1a173e03064089672bb.zip |
- use STAGEDIR
- use OPTIONS_DEFINE
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/lha-ac/Makefile | 20 | ||||
-rw-r--r-- | archivers/lha/Makefile | 11 |
2 files changed, 16 insertions, 15 deletions
diff --git a/archivers/lha-ac/Makefile b/archivers/lha-ac/Makefile index b7405351fe46..1132d300cb63 100644 --- a/archivers/lha-ac/Makefile +++ b/archivers/lha-ac/Makefile @@ -13,16 +13,14 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-ac20050924p1 MAINTAINER= dinoex@FreeBSD.org COMMENT= Archive files using LZSS and Huffman compression (.lzh files) -CONFLICTS= lha-1* -NO_STAGE= yes +RESTRICTED= no permission to redistribute -MAN1= lha.1 -MANLANG= ja -PLIST_FILES= bin/lha -#PLIST_DIRS= man/ja/man1 +#USES= manpages GNU_CONFIGURE= yes - -RESTRICTED= no permission to redistribute +PLIST_FILES= bin/lha-ac +MANLANG= ja +MAN1_JA= lha-ac.1 +PLIST_FILES+= ${__MANPAGES} .include <bsd.port.options.mk> @@ -33,8 +31,8 @@ CONFIGURE_ARGS+= --enable-multibyte-filename=auto .endif do-install: - -${MKDIR} ${MANPREFIX}/man/ja/man1 - ${INSTALL_PROGRAM} ${WRKSRC}/src/lha ${PREFIX}/bin/lha - ${INSTALL_MAN} ${WRKSRC}/man/lha.n ${MANPREFIX}/man/ja/man1/lha.1 + -${MKDIR} ${STAGEDIR}${PREFIX}/man/ja/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/src/lha ${STAGEDIR}${PREFIX}/bin/lha-ac + ${INSTALL_MAN} ${WRKSRC}/man/lha.n ${STAGEDIR}${PREFIX}/man/ja/man1/lha-ac.1 .include <bsd.port.mk> diff --git a/archivers/lha/Makefile b/archivers/lha/Makefile index 4c14b456b677..cb6e06bfe8a8 100644 --- a/archivers/lha/Makefile +++ b/archivers/lha/Makefile @@ -11,11 +11,14 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//} MAINTAINER= dinoex@FreeBSD.org COMMENT= Archive files using LZSS and Huffman compression (.lzh files) -CONFLICTS= lha-ac-1* -NO_STAGE= yes - -MAN1= lha.1 MANLANG= ja +MAN1= lha.1 PLIST_FILES= bin/lha +PLIST_FILES+= ${__MANPAGES} + +do-install: + -${MKDIR} ${STAGEDIR}${PREFIX}/man/ja/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/src/lha ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/man/lha.n ${STAGEDIR}${PREFIX}/man/ja/man1/lha.1 .include <bsd.port.mk> |