surf: Adjust PKGNAME and install program and man page as surf (not surf2)

This commit is contained in:
Leonardo Taccari 2019-03-06 12:17:23 +01:00
parent eace32081c
commit f87926c1d3
2 changed files with 3 additions and 10 deletions

View File

@ -1,8 +1,6 @@
# $NetBSD: Makefile,v 1.6 2015/07/13 11:10:36 leot1990 Exp $
DISTNAME= surf-2.0
PKGNAME= ${DISTNAME:S/surf/surf2/}
PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= http://dl.suckless.org/surf/
@ -29,11 +27,6 @@ SUBST_SED.configmk+= -e 's/cc/${CC:Q}/'
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
# Install binary and man page as surf2 to avoid conflicts with wip/surf
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/surf ${DESTDIR}${PREFIX}/bin/surf2
${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/surf.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/surf2.1
.include "../../www/webkit-gtk/buildlink3.mk"
.include "../../x11/gtk3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@ -1,3 +1,3 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/13 10:28:14 pdtafti Exp $
bin/surf2
man/man1/surf2.1
@comment $NetBSD$
bin/surf
man/man1/surf.1