diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-20 08:13:05 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-20 08:13:05 +0000 |
commit | a3af4f48e1fabf3e62afcda13f5b71edf8f2e3ea (patch) | |
tree | 91657eb1f6088c7a35d5551a5150e7857428a379 /editors/sted/Makefile | |
parent | 863f1c2e18227a496ef958c6fdea96699035e165 (diff) | |
download | ports-a3af4f48e1fabf3e62afcda13f5b71edf8f2e3ea.tar.gz ports-a3af4f48e1fabf3e62afcda13f5b71edf8f2e3ea.zip |
Notes
Diffstat (limited to 'editors/sted/Makefile')
-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> |