Date: Thu, 20 Jun 2013 13:01:27 +0000 (UTC) From: Boris Samorodov <bsam@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r321376 - head/science/szip Message-ID: <201306201301.r5KD1RZS021210@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bsam Date: Thu Jun 20 13:01:27 2013 New Revision: 321376 URL: http://svnweb.freebsd.org/changeset/ports/321376 Log: . NOPORTDOCS -> PORT_OPTIONS:MDOCS; . use PLIST_FILES and PORTDOCS at Makefile; . get rid of pkg-plist; . trim Makefile headers. Deleted: head/science/szip/pkg-plist Modified: head/science/szip/Makefile Modified: head/science/szip/Makefile ============================================================================== --- head/science/szip/Makefile Thu Jun 20 12:52:25 2013 (r321375) +++ head/science/szip/Makefile Thu Jun 20 13:01:27 2013 (r321376) @@ -1,9 +1,5 @@ -# New ports collection makefile for: hdf-szip -# Date created: 3 March 2005 -# Whom: glewis -# +# Created by: glewis # $FreeBSD$ -# PORTNAME= szip PORTVERSION= 2.1 @@ -13,7 +9,7 @@ MASTER_SITES= ftp://ftp.hdfgroup.org/lib http://www.hdfgroup.org/doc_resource/SZIP/:doc PKGNAMEPREFIX= hdf- DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:src \ - ${DOCFILE}:doc + ${PORTDOCS}:doc EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org @@ -22,14 +18,20 @@ COMMENT= Lossless compression library fo USE_AUTOTOOLS= libtool GNU_CONFIGURE= yes USE_LDCONFIG= yes -DOCFILE= Release_notes_2_0.pdf LDFLAGS+= -lm CONFIGURE_ARGS+= LDFLAGS="${LDFLAGS}" +PLIST_FILES= include/ricehdf.h include/szip_adpt.h include/szlib.h \ + lib/libsz.a lib/libsz.la lib/libsz.so lib/libsz.so.2 +PORTDOCS= Release_notes_2_0.pdf + +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${DISTDIR}/${DOCFILE} ${DOCSDIR} + ${INSTALL_DATA} ${DISTDIR}/${PORTDOCS} ${DOCSDIR} .endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306201301.r5KD1RZS021210>