Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Mar 2014 16:53:03 +0000 (UTC)
From:      Martin Matuska <mm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348353 - head/ftp/proftpd
Message-ID:  <201403151653.s2FGr3E5078502@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mm
Date: Sat Mar 15 16:53:03 2014
New Revision: 348353
URL: http://svnweb.freebsd.org/changeset/ports/348353
QAT: https://qat.redports.org/buildarchive/r348353/

Log:
  Enable ProFTPD module ports to use own version strings

Modified:
  head/ftp/proftpd/Makefile

Modified: head/ftp/proftpd/Makefile
==============================================================================
--- head/ftp/proftpd/Makefile	Sat Mar 15 16:47:53 2014	(r348352)
+++ head/ftp/proftpd/Makefile	Sat Mar 15 16:53:03 2014	(r348353)
@@ -2,7 +2,9 @@
 # $FreeBSD$
 
 PORTNAME?=	proftpd
-PORTVERSION?=	1.3.4d
+.if !defined(DISTVERSION)
+PORTVERSION?=	${PROFTPD_VERSION}
+.endif
 PORTREVISION?=	3
 CATEGORIES?=	ftp
 MASTER_SITES=	ftp://ftp.proftpd.org/distrib/source/ \
@@ -10,7 +12,7 @@ MASTER_SITES=	ftp://ftp.proftpd.org/dist
 		ftp://proftpd.networkedsystems.co.uk/distrib/source/ \
 		http://www.mirrorservice.org/sites/ftp.proftpd.org/distrib/source/
 .if defined(_BUILDING_PROFTPD_MODULE)
-DISTNAME=	proftpd-${PORTVERSION}
+DISTNAME=	proftpd-${PROFTPD_VERSION}
 .endif
 
 MAINTAINER?=	mm@FreeBSD.org
@@ -24,10 +26,12 @@ BUILD_DEPENDS+=	${LOCALBASE}/sbin/proftp
 RUN_DEPENDS+=	${LOCALBASE}/sbin/proftpd:${PORTSDIR}/ftp/proftpd
 .endif
 
+PROFTPD_VERSION=	1.3.4d
+
 .if defined(_BUILDING_PROFTPD_MODULE)
 DISTFILES+=	${DISTNAME}${EXTRACT_SUFX}
 EXTRACT_ONLY+=	${DISTNAME}${EXTRACT_SUFX}
-WRKSRC=		${WRKDIR}/proftpd-${PORTVERSION}
+WRKSRC=		${WRKDIR}/proftpd-${PROFTPD_VERSION}
 . if defined(_PROFTPD_MODULE_EXTRACT_ONLY)
 EXTRACT_ONLY+=	${_PROFTPD_MODULE_EXTRACT_ONLY}
 . endif



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