From owner-svn-ports-head@freebsd.org Thu Dec 22 21:56:43 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6CB3FC8D6BB; Thu, 22 Dec 2016 21:56:43 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3C7AE15F6; Thu, 22 Dec 2016 21:56:43 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uBMLugZ0062849; Thu, 22 Dec 2016 21:56:42 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBMLugJ3062848; Thu, 22 Dec 2016 21:56:42 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201612222156.uBMLugJ3062848@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Thu, 22 Dec 2016 21:56:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r429188 - head/www/subsonic 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.23 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: Thu, 22 Dec 2016 21:56:43 -0000 Author: bapt Date: Thu Dec 22 21:56:42 2016 New Revision: 429188 URL: https://svnweb.freebsd.org/changeset/ports/429188 Log: Use PORTNAME instead of PORTDIRNAME so that the package does not depend on the directory the port lives in Modified: head/www/subsonic/Makefile Modified: head/www/subsonic/Makefile ============================================================================== --- head/www/subsonic/Makefile Thu Dec 22 21:48:49 2016 (r429187) +++ head/www/subsonic/Makefile Thu Dec 22 21:56:42 2016 (r429188) @@ -128,11 +128,11 @@ pre-install: @${ECHO} "@owner ${USER}" >> ${PLIST} @${ECHO} "@group ${GROUP}" >> ${PLIST} @cd ${WRKSRC}; ${FIND} . -type f | cut -c2- \ - | ${SED} 's|^|${WEBAPPDIR:S,${PREFIX}/,,}/${PORTDIRNAME}|' \ + | ${SED} 's|^|${WEBAPPDIR:S,${PREFIX}/,,}/${PORTNAME}|' \ | ${SORT} >> ${PLIST} @${CAT} ${PKGDIR}/pkg-plist-chunk >> ${PLIST} @cd ${WRKSRC}; ${FIND} . -type d | cut -c2- \ - | ${SED} 's|^|@dir ${WEBAPPDIR:S,${PREFIX}/,,}/${PORTDIRNAME}|' \ + | ${SED} 's|^|@dir ${WEBAPPDIR:S,${PREFIX}/,,}/${PORTNAME}|' \ | ${SORT} -r >> ${PLIST} @${RM} ${PKGMESSAGE} @${CAT} ${PKGDIR}/pkg-message-spacer >> ${PKGMESSAGE} @@ -143,7 +143,7 @@ pre-install: @${CAT} ${PKGDIR}/pkg-message-spacer >> ${PKGMESSAGE} do-install: - cd ${WRKDIR} && ${COPYTREE_SHARE} ${PORTDIRNAME} ${STAGEDIR}${WEBAPPDIR} + cd ${WRKDIR} && ${COPYTREE_SHARE} ${PORTNAME} ${STAGEDIR}${WEBAPPDIR} ${MKDIR} ${STAGEDIR}${SUBSONIC_HOME} ${MKDIR} ${STAGEDIR}${SUBSONIC_HOME}/transcode