svn commit: r348068 - head/russian/tidyup-mail

Emanuel Haupt ehaupt at FreeBSD.org
Thu Mar 13 13:46:47 UTC 2014


Author: ehaupt
Date: Thu Mar 13 13:46:46 2014
New Revision: 348068
URL: http://svnweb.freebsd.org/changeset/ports/348068
QAT: https://qat.redports.org/buildarchive/r348068/

Log:
  - Support staging
  - Use INSTALL_PROGRAM instead of INSTALL_SCRIPT for binary

Modified:
  head/russian/tidyup-mail/Makefile

Modified: head/russian/tidyup-mail/Makefile
==============================================================================
--- head/russian/tidyup-mail/Makefile	Thu Mar 13 13:41:59 2014	(r348067)
+++ head/russian/tidyup-mail/Makefile	Thu Mar 13 13:46:46 2014	(r348068)
@@ -9,15 +9,12 @@ MASTER_SITES=	http://gromnizki.unixdev.n
 MAINTAINER=	gromnizki at 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>


More information about the svn-ports-head mailing list