svn commit: r491394 - head/lang/runawk

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Jan 27 19:58:15 UTC 2019


Author: sunpoet
Date: Sun Jan 27 19:58:13 2019
New Revision: 491394
URL: https://svnweb.freebsd.org/changeset/ports/491394

Log:
  Convert to options target helper
  
  - Use USES=localbase
  - Update WWW

Modified:
  head/lang/runawk/Makefile
  head/lang/runawk/pkg-descr

Modified: head/lang/runawk/Makefile
==============================================================================
--- head/lang/runawk/Makefile	Sun Jan 27 19:58:08 2019	(r491393)
+++ head/lang/runawk/Makefile	Sun Jan 27 19:58:13 2019	(r491394)
@@ -13,19 +13,20 @@ LICENSE=	MIT
 
 BUILD_DEPENDS=	mk-configure>=0.26.0:devel/mk-configure
 
+USES=		localbase
+
 MAKE_ENV=	DESTDIR="${STAGEDIR}" EGDIR="${EXAMPLESDIR}"
-INSTALL_TARGET=	install install-doc install-examples
+INSTALL_TARGET=	install
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
+DOCS_INSTALL_TARGET=	install-doc
+EXAMPLES_INSTALL_TARGET=install-examples
+
 do-build:
 	@${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/mkcmake -C ${WRKSRC}
 
 do-install:
-	@${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/mkcmake -C ${WRKSRC} \
-		${INSTALL_TARGET}
+	@${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/mkcmake -C ${WRKSRC} ${INSTALL_TARGET}
 
 .include <bsd.port.mk>

Modified: head/lang/runawk/pkg-descr
==============================================================================
--- head/lang/runawk/pkg-descr	Sun Jan 27 19:58:08 2019	(r491393)
+++ head/lang/runawk/pkg-descr	Sun Jan 27 19:58:13 2019	(r491394)
@@ -1,4 +1,4 @@
 runawk is a small wrapper for AWK that implements a modules
 system and helps one to write the standalone AWK programs.
 
-WWW: http://runawk.sourceforge.net/
+WWW: https://sourceforge.net/projects/runawk/


More information about the svn-ports-head mailing list