From owner-svn-ports-head@FreeBSD.ORG Sat May 4 20:09:02 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3903FD01; Sat, 4 May 2013 20:09:02 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 2B536DF7; Sat, 4 May 2013 20:09:02 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r44K91Oo024589; Sat, 4 May 2013 20:09:01 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r44K91hL024588; Sat, 4 May 2013 20:09:01 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201305042009.r44K91hL024588@svn.freebsd.org> From: Baptiste Daroussin Date: Sat, 4 May 2013 20:09:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r317343 - head/devel/libghthash X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 May 2013 20:09:02 -0000 Author: bapt Date: Sat May 4 20:09:01 2013 New Revision: 317343 URL: http://svnweb.freebsd.org/changeset/ports/317343 Log: Fix build with bmake, convert to new options framework Modified: head/devel/libghthash/Makefile Modified: head/devel/libghthash/Makefile ============================================================================== --- head/devel/libghthash/Makefile Sat May 4 20:06:02 2013 (r317342) +++ head/devel/libghthash/Makefile Sat May 4 20:09:01 2013 (r317343) @@ -1,10 +1,5 @@ -# ex:ts=8 -# Ports collection makefile for: libghthash -# Date created: Jul 2, 2002 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= libghthash PORTVERSION= 0.6.2 @@ -23,6 +18,10 @@ PLIST_FILES= include/ght_hash_table.h \ lib/libghthash.a lib/libghthash.la \ lib/libghthash.so lib/libghthash.so.2 +.if defined(.PARSEDIR) +USE_GMAKE= yes +.endif + MAN3= ght_create.3 \ ght_finalize.3 \ ght_first.3 \ @@ -36,12 +35,14 @@ MAN3= ght_create.3 \ PORTDOCS= * PORTEXAMPLES= * +.include + post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} (cd ${WRKSRC}/html && ${COPYTREE_SHARE} \* ${DOCSDIR}) .endif -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${EXAMPLESDIR} (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \*.c ${EXAMPLESDIR}) .endif