diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-20 16:13:05 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-20 16:13:05 +0800 |
commit | c02db69429bb8ea54812b85afdd95d1b5da1246b (patch) | |
tree | 91657eb1f6088c7a35d5551a5150e7857428a379 /editors | |
parent | 80bae6f39dd4c24182b7a9b6b0dce5eacbfb5004 (diff) | |
download | freebsd-ports-gnome-c02db69429bb8ea54812b85afdd95d1b5da1246b.tar.gz freebsd-ports-gnome-c02db69429bb8ea54812b85afdd95d1b5da1246b.tar.zst freebsd-ports-gnome-c02db69429bb8ea54812b85afdd95d1b5da1246b.zip |
Support staging
Diffstat (limited to 'editors')
-rw-r--r-- | editors/sted/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
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|<curses.h>|<ncurses.h>|" ${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 <bsd.port.mk> |