From owner-svn-ports-all@FreeBSD.ORG Mon Nov 18 15:08:35 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2B8D476E; Mon, 18 Nov 2013 15:08:35 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0CA6320CC; Mon, 18 Nov 2013 15:08:35 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAIF8Yes043665; Mon, 18 Nov 2013 15:08:34 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAIF8YZS043663; Mon, 18 Nov 2013 15:08:34 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201311181508.rAIF8YZS043663@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Mon, 18 Nov 2013 15:08:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334206 - in head/games/inform: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Nov 2013 15:08:35 -0000 Author: danilo Date: Mon Nov 18 15:08:34 2013 New Revision: 334206 URL: http://svnweb.freebsd.org/changeset/ports/334206 Log: - Add stage support - Put Makefile variables in order Modified: head/games/inform/Makefile head/games/inform/files/Makefile.inform Modified: head/games/inform/Makefile ============================================================================== --- head/games/inform/Makefile Mon Nov 18 15:06:43 2013 (r334205) +++ head/games/inform/Makefile Mon Nov 18 15:08:34 2013 (r334206) @@ -5,13 +5,11 @@ PORTNAME= inform PORTVERSION= 6.32 CATEGORIES= games MASTER_SITES= ftp://ftp.ifarchive.org/if-archive/infocom/compilers/inform6/source/ \ - ftp://ftp.ifarchive.org/if-archive/infocom/compilers/inform6/library/:lib + ftp://ftp.ifarchive.org/if-archive/infocom/compilers/inform6/library/:lib \ + ftp://ftp.ifarchive.org/if-archive/infocom/compilers/inform6/manuals/:doc +DISTFILES= inform${PORTVERSION:S/.//}_source.zip inform_library611.zip:lib \ + designers_manual_4.zip:doc DIST_SUBDIR= inform -DISTFILES= inform${PORTVERSION:S/.//}_source.zip inform_library611.zip:lib -.if !defined(NOPORTDOCS) -MASTER_SITES+= ftp://ftp.ifarchive.org/if-archive/infocom/compilers/inform6/manuals/:doc -DISTFILES+= designers_manual_4.zip:doc -.endif EXTRACT_ONLY= inform${PORTVERSION:S/.//}_source.zip MAINTAINER= ports@FreeBSD.org @@ -24,27 +22,17 @@ NO_WRKSUBDIR= yes USE_ZIP= yes MAKEFILE= ${FILESDIR}/Makefile.inform -# Install the library files in ${PREFIX}/share/inform, and install -# documentation if appropriate. - -NO_STAGE= yes post-install: - @${MKDIR} ${DATADIR} - (cd ${DATADIR} && \ + @${MKDIR} ${STAGEDIR}${DATADIR} + (cd ${STAGEDIR}${DATADIR} && \ ${UNZIP_CMD} -qq -o ${DISTDIR}/${DIST_SUBDIR}/inform_library611.zip) .for file in English.h Grammar.h Parser.h VerbLib.h infix.h linklpa.h \ linklv.h parserm.h verblibm.h - ${CHMOD} ${SHAREMODE} ${DATADIR}/${file} - ${CHOWN} ${SHAREOWN}:${SHAREGRP} ${DATADIR}/${file} + ${CHMOD} ${SHAREMODE} ${STAGEDIR}${DATADIR}/${file} .endfor -.if defined(NOPORTDOCS) - @${RM} ${DATADIR}/readme.txt -.else - @${MKDIR} ${DOCSDIR} - (umask 222 && ${UNZIP_CMD} -qq -o -d ${DOCSDIR} \ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (umask 222 && ${UNZIP_CMD} -qq -o -d ${STAGEDIR}${DOCSDIR} \ ${DISTDIR}/${DIST_SUBDIR}/designers_manual_4.zip) - @${MV} ${DATADIR}/readme.txt ${DOCSDIR} - @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} -.endif + @${MV} ${STAGEDIR}${DATADIR}/readme.txt ${STAGEDIR}${DOCSDIR} .include Modified: head/games/inform/files/Makefile.inform ============================================================================== --- head/games/inform/files/Makefile.inform Mon Nov 18 15:06:43 2013 (r334205) +++ head/games/inform/files/Makefile.inform Mon Nov 18 15:08:34 2013 (r334206) @@ -12,4 +12,4 @@ inform: $(OBJS) $(CC) $(CFLAGS) -o ${.TARGET} $(OBJS) install: inform - ${BSD_INSTALL_PROGRAM} inform ${PREFIX}/bin + ${BSD_INSTALL_PROGRAM} inform ${DESTDIR}${PREFIX}/bin