From b1f31853449e0b163b1f8b06525527b254f023d6 Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Fri, 15 Feb 2013 09:58:01 +0000 Subject: [PATCH] - Trim the Makefile header per new project standards - Switch from NOPORTDOCS to PORT_OPTIONS:MDOCS check - Use shorter URL in WWW: line of port description --- editors/heme/Makefile | 12 ++++++------ editors/heme/pkg-descr | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/editors/heme/Makefile b/editors/heme/Makefile index 2788007f1364..e236973b71cf 100644 --- a/editors/heme/Makefile +++ b/editors/heme/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: heme -# Date created: 29 May 2012 -# Whom: Alexey Dokuchaev -# +# Created by: Alexey Dokuchaev # $FreeBSD$ -# PORTNAME= heme PORTVERSION= 0.4.2 @@ -22,8 +18,12 @@ PLIST_FILES= bin/${PORTNAME} MAN1= ${PORTNAME}.1 PORTDOCS= README +OPTIONS_DEFINE= DOCS + +.include + post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} .endif diff --git a/editors/heme/pkg-descr b/editors/heme/pkg-descr index eee4112535b6..ac151e7d3f10 100644 --- a/editors/heme/pkg-descr +++ b/editors/heme/pkg-descr @@ -8,4 +8,4 @@ modes: hex (binary) and ASCII (text). Heme uses standard curses library for screen and input handling, and offers colors support (they can be set in the configuration file). -WWW: http://sourceforge.net/projects/heme/ +WWW: http://heme.sourceforge.net/