From a3af4f48e1fabf3e62afcda13f5b71edf8f2e3ea Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Thu, 20 Feb 2014 08:13:05 +0000 Subject: Support staging --- editors/sted/Makefile | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'editors/sted') diff --git a/editors/sted/Makefile b/editors/sted/Makefile index aa9d129a29f4..668282339727 100644 --- a/editors/sted/Makefile +++ b/editors/sted/Makefile @@ -10,13 +10,13 @@ MASTER_SITE_SUBDIR= gabor MAINTAINER= ports@FreeBSD.org COMMENT= Simple/Small/Stupid Text Editor +LICENSE= GPLv2 + WRKSRC= ${WRKDIR}/sted -MAN1= sted.1 -PORTDOCS= CHANGES COPYING README -PLIST_FILES= bin/sted +PORTDOCS= CHANGES README +PLIST_FILES= bin/sted man/man1/sted.1.gz -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e "s|CC = gcc|CC ?= gcc|" \ -e "s|C_OPTS = -Wall -O2|C_OPTS = ${CFLAGS}|" \ @@ -24,13 +24,11 @@ post-patch: @${REINPLACE_CMD} "s|||" ${WRKSRC}/sted.c do-install: - @ ${INSTALL_PROGRAM} ${WRKSRC}/sted ${PREFIX}/bin - @ ${INSTALL_MAN} ${WRKSRC}/sted.1 ${PREFIX}/man/man1 -.if !defined(NOPORTDOCS) - @ ${MKDIR} ${DOCSDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/sted ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/sted.1 ${STAGEDIR}${MANPREFIX}/man/man1 + ${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${PORTDOCS} - @ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include -- cgit v1.2.3