aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-03-13 21:46:46 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-03-13 21:46:46 +0800
commit720da9a32cc23ff09b6cdc06c67cc74c031f4d25 (patch)
treeb5a677d55e0e67ff61409a0f3a4ae4c67c85c723
parent9e2463ef831c3eb05b21f5ab003bf9d12108f93f (diff)
downloadfreebsd-ports-gnome-720da9a32cc23ff09b6cdc06c67cc74c031f4d25.tar.gz
freebsd-ports-gnome-720da9a32cc23ff09b6cdc06c67cc74c031f4d25.tar.zst
freebsd-ports-gnome-720da9a32cc23ff09b6cdc06c67cc74c031f4d25.zip
- Support staging
- Use INSTALL_PROGRAM instead of INSTALL_SCRIPT for binary
-rw-r--r--russian/tidyup-mail/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/russian/tidyup-mail/Makefile b/russian/tidyup-mail/Makefile
index 7137bd86cb18..afdffe818a3c 100644
--- a/russian/tidyup-mail/Makefile
+++ b/russian/tidyup-mail/Makefile
@@ -9,15 +9,12 @@ MASTER_SITES= http://gromnizki.unixdev.net/soft/
MAINTAINER= gromnizki@unixdev.net
COMMENT= Remove unsafe characters from email & make xterm happy
-MAN1= ${PORTNAME}.1
-MANLANG= ru.KOI8-R
-
ALL_TARGET= ${PORTNAME}
-PLIST_FILES= bin/tidyup-mail
+PLIST_FILES= bin/tidyup-mail man/ru.KOI8-R/man1/tidyup-mail.1.gz
-NO_STAGE= yes
do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
- @${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/ru.KOI8-R/man1/
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \
+ ${STAGEDIR}${MANPREFIX}/man/ru.KOI8-R/man1
.include <bsd.port.mk>