Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jan 2017 10:58:16 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r430630 - head/devel/pas2dox
Message-ID:  <201701051058.v05AwGjE035877@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Jan  5 10:58:16 2017
New Revision: 430630
URL: https://svnweb.freebsd.org/changeset/ports/430630

Log:
  - Substitude DISTVERSION in MASTER_SITES
  - Add LICENSE_FILE
  - Simplify installation
  - Remove legacy hack

Modified:
  head/devel/pas2dox/Makefile

Modified: head/devel/pas2dox/Makefile
==============================================================================
--- head/devel/pas2dox/Makefile	Thu Jan  5 10:50:43 2017	(r430629)
+++ head/devel/pas2dox/Makefile	Thu Jan  5 10:58:16 2017	(r430630)
@@ -4,12 +4,13 @@
 PORTNAME=	pas2dox
 DISTVERSION=	0.50rc1
 CATEGORIES=	devel converters
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-0.50rc1
+MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${DISTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Preprocessor to use doxygen with Pascal sources
 
 LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
@@ -18,13 +19,6 @@ ALL_TARGET=	${PORTNAME}
 
 PLIST_FILES=	bin/${PORTNAME}
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 1000033
-BUILD_DEPENDS+=	flex>0:textproc/flex
-MAKE_ENV+=	LEX="${LOCALBASE}/bin/flex"
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|^LEX=|LEX?=| ; \
@@ -36,7 +30,6 @@ pre-build:
 	@${RM} ${WRKSRC}/${PORTNAME}.cpp
 
 do-install:
-	(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} \
-		${STAGEDIR}${PREFIX}/bin)
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701051058.v05AwGjE035877>