Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2014 13:22:18 +0100
From:      Rusmir =?UTF-8?B?RHXFoWtv?= <nemysis@FreeBSD.org>
To:        Jason Helfman <jgh@FreeBSD.org>
Cc:        "svn-ports-head@freebsd.org" <svn-ports-head@freebsd.org>, "svn-ports-all@freebsd.org" <svn-ports-all@freebsd.org>, "ports-committers@freebsd.org" <ports-committers@freebsd.org>
Subject:   Re: svn commit: r347840 - in head/games: . opensurge opensurge/files
Message-ID:  <20140311132218.0fd3ef00@nemysis3now>
In-Reply-To: <CAMuy=%2Bj%2BNS3vvhCwkhS0sxi89SkvSDNRMEMVfpSMOB2hdWmaiA@mail.gmail.com>
References:  <201403110504.s2B54Tbr067090@svn.freebsd.org> <CAMuy=%2Bj%2BNS3vvhCwkhS0sxi89SkvSDNRMEMVfpSMOB2hdWmaiA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 11 Mar 2014 00:41:31 -0700
Jason Helfman <jgh@FreeBSD.org> wrote:

> It is far more standard to place a message like this in pkg-plist that is
> displayed to the user when they de-install the package. If a user
> de-installs a package, chances are they are more unlikely to see this
> message.
>=20
>=20
> +After deinstallation, some files may stay in %%DATADIR%%,
> +you can delete them with
> +
> +    /bin/rm -fr %%DATADIR%%
>=20
> -jgh
>=20
>=20

Thanks for pointing out this issue to me, I will more careful about
these in the future.

Please look r347872. Now use pkg-deinstall.

> On Mon, Mar 10, 2014 at 10:04 PM, Rusmir Dusko <nemysis@freebsd.org> wrot=
e:
>=20
> > Author: nemysis
> > Date: Tue Mar 11 05:04:29 2014
> > New Revision: 347840
> > URL: http://svnweb.freebsd.org/changeset/ports/347840
> > QAT: https://qat.redports.org/buildarchive/r347840/
> >
> > Log:
> >   Open Surge is an open source retro-style 2D sidescroller inspired by
> >   old-school games. Join Surge, Neon and Charge and save the world from
> >   the evil Gimacian the Dark!
> >
> >   WWW: http://opensnc.sourceforge.net/
> >
> >   PR:           ports/182515
> >   Submitted by: nemysis (self)
> >   Reviewed by:  Horia Racoviceanu <horia at racoviceanu.com>
> >
> > Added:
> >   head/games/opensurge/
> >   head/games/opensurge/Makefile   (contents, props changed)
> >   head/games/opensurge/Makefile.svn_rev   (contents, props changed)
> >   head/games/opensurge/distinfo   (contents, props changed)
> >   head/games/opensurge/files/
> >   head/games/opensurge/files/opensurge.in   (contents, props changed)
> >   head/games/opensurge/files/pkg-message.in   (contents, props changed)
> >   head/games/opensurge/pkg-descr   (contents, props changed)
> >   head/games/opensurge/pkg-plist   (contents, props changed)
> > Modified:
> >   head/games/Makefile
> >
> > Modified: head/games/Makefile
> >
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
> > --- head/games/Makefile Tue Mar 11 05:03:00 2014        (r347839)
> > +++ head/games/Makefile Tue Mar 11 05:04:29 2014        (r347840)
> > @@ -684,6 +684,7 @@
> >      SUBDIR +=3D opensfx
> >      SUBDIR +=3D opensonic
> >      SUBDIR +=3D openssn
> > +    SUBDIR +=3D opensurge
> >      SUBDIR +=3D openttd
> >      SUBDIR +=3D openxcom
> >      SUBDIR +=3D openyahtzee
> >
> > Added: head/games/opensurge/Makefile
> >
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
> > --- /dev/null   00:00:00 1970   (empty, because file is newly added)
> > +++ head/games/opensurge/Makefile       Tue Mar 11 05:04:29 2014
> >  (r347840)
> > @@ -0,0 +1,87 @@
> > +# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
> > +# $FreeBSD$
> > +
> > +PORTNAME=3D      opensurge
> > +PORTVERSION=3D   0.1.r${SVN_REV}
> > +CATEGORIES=3D    games
> > +MASTER_SITES=3D  http://www.ime.usp.br/~alemart/opensurge_nightly/ \
> > +               SF/nemysisfreebsdp/${CATEGORIES}/${PORTNAME}/
> > +DISTFILES=3D     ${PORTNAME}-src-build${SVN_REV}${EXTRACT_SUFX} \
> > +               ${PORTNAME}-mods-${MODS_VER}${EXTRACT_SUFX}
> > +
> > +MAINTAINER=3D    nemysis@FreeBSD.org
> > +COMMENT=3D       Game based on the Sonic the Hedgehog universe
> > +
> > +LICENSE=3D       GPLv2 CCbyNCSA3
> > +LICENSE_COMB=3D  dual
> > +LICENSE_NAME_CCbyNCSA3=3DAttribution-NonCommercial-ShareAlike 3.0 Unpo=
rted
> > +LICENSE_FILE=3D  ${WRKSRC}/license.txt
> > +LICENSE_FILE_CCbyNCSA3=3D${WRKSRC}/licenses/CC-BY-SA-3.0.txt
> > +LICENSE_PERMS_CCbyNCSA3=3Ddist-mirror pkg-mirror auto-accept
> > +
> > +BUILD_DEPENDS=3D ${LOCALBASE}/lib/libaldmb.a:${PORTSDIR}/audio/dumb-al=
legro
> > \
> > +               ${LOCALBASE}/include/alfont.h:${PORTSDIR}/x11-fonts/alf=
ont
> > \
> > +               alureplay:${PORTSDIR}/audio/alure
> > +LIB_DEPENDS=3D   liballeg.so:${PORTSDIR}/devel/allegro \
> > +               libogg.so:${PORTSDIR}/audio/libogg \
> > +               libvorbis.so:${PORTSDIR}/audio/libvorbis
> > +RUN_DEPENDS=3D   ${LOCALBASE}/lib/libaldmb.a:${PORTSDIR}/audio/dumb-al=
legro
> > +
> > +WRKSRC=3D                ${WRKDIR}/${PORTNAME}-src-build${SVN_REV}
> > +
> > +USES=3D          cmake dos2unix openal:soft
> > +DOS2UNIX_GLOB=3D *.bg *.brk *.grp  *.inc *.lev *.lng  *.obj *.qst *.spr
> > *.txt
> > +USE_GCC=3D       yes
> > +
> > +PORTDOCS=3D      readme.html
> > +
> > +OPTIONS_DEFINE=3D        DOCS
> > +
> > +SUB_FILES=3D     ${PORTNAME} pkg-message
> > +
> > +INSTALLS_ICONS=3D        yes
> > +ICON_SIZES=3D    16x16 32x32 48x48 64x64 72x72 96x96 128x128 256x256
> > +
> > +DESKTOP_ENTRIES=3D"Open Surge" "" "${PORTNAME}" \
> > +               "${PORTNAME}" "Game;ArcadeGame;" ""
> > +
> > +.include "Makefile.svn_rev"
> > +
> > +post-extract-script:
> > +       @(cd ${WRKDIR}/opensurge-mods ; ${COPYTREE_SHARE} . ${WRKSRC})
> > +
> > +post-patch:
> > +       @${REINPLACE_CMD} -e 's|/usr/share/opensurge|${DATADIR}|' \
> > +               -e 's|/usr/bin|${PREFIX}/bin|' \
> > +               ${WRKSRC}/src/core/global.h
> > +       @${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \
> > +               ${WRKSRC}/src/core/osspec.c
> > +
> > +       @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|; \
> > +               s|/usr/bin|${PREFIX}/bin|; \
> > +               s|license.txt readme.html||; \
> > +               s|licenses||' \
> > +               ${WRKSRC}/CMakeLists.txt
> > +       @${REINPLACE_CMD} -i '' '/Copying executable to/,+2d' \
> > +               ${WRKSRC}/CMakeLists.txt
> > +
> > +post-install:
> > +       ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bi=
n/
> > +
> > +.for s in ${ICON_SIZES}
> > +       @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/
> > +       @${INSTALL_DATA} ${WRKSRC}/src/misc/${PORTNAME}_${s}.png \
> > +
> > ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
> > +.endfor
> > +       ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.=
png
> > \
> > +               ${STAGEDIR}${PREFIX}/share/pixmaps/
> > +
> > +       @${MKDIR} ${STAGEDIR}${DOCSDIR}
> > +       ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDI=
R}
> > +
> > +       @cd ${STAGEDIR}${PREFIX} && ${FIND} ${DATADIR_REL} \
> > +               -type f >> ${TMPPLIST} && \
> > +               ${FIND} ${DATADIR_REL} -type d -o -type l | ${SORT} -r =
| \
> > +               ${SED} 's|^|@dirrm |' >> ${TMPPLIST}
> > +
> > +.include <bsd.port.mk>
> >
> > Added: head/games/opensurge/Makefile.svn_rev
> >
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
> > --- /dev/null   00:00:00 1970   (empty, because file is newly added)
> > +++ head/games/opensurge/Makefile.svn_rev       Tue Mar 11 05:04:29 2014
> >      (r347840)
> > @@ -0,0 +1,2 @@
> > +SVN_REV=3D       763
> > +MODS_VER=3D      20140311
> >
> > Added: head/games/opensurge/distinfo
> >
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
> > --- /dev/null   00:00:00 1970   (empty, because file is newly added)
> > +++ head/games/opensurge/distinfo       Tue Mar 11 05:04:29 2014
> >  (r347840)
> > @@ -0,0 +1,4 @@
> > +SHA256 (opensurge-src-build763.tar.gz) =3D
> > c23f993e4f771ef5f981b1d0145541979c4d274363647b33b68b91e37252303d
> > +SIZE (opensurge-src-build763.tar.gz) =3D 17577000
> > +SHA256 (opensurge-mods-20140311.tar.gz) =3D
> > dfddfeef98e16e62b80d49b82ec47d7831246337879f1c8995a182785d6ffd9c
> > +SIZE (opensurge-mods-20140311.tar.gz) =3D 99755567
> >
> > Added: head/games/opensurge/files/opensurge.in
> >
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
> > --- /dev/null   00:00:00 1970   (empty, because file is newly added)
> > +++ head/games/opensurge/files/opensurge.in     Tue Mar 11 05:04:29 2014
> >        (r347840)
> > @@ -0,0 +1,7 @@
> > +#!/bin/sh
> > +#
> > +# $FreeBSD$
> > +#
> > +
> > +cd "%%DATADIR%%"
> > +exec ./opensurge "${@}"
> >
> > Added: head/games/opensurge/files/pkg-message.in
> >
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
> > --- /dev/null   00:00:00 1970   (empty, because file is newly added)
> > +++ head/games/opensurge/files/pkg-message.in   Tue Mar 11 05:04:29 2014
> >        (r347840)
> > @@ -0,0 +1,20 @@
> >
> > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D
> > +
> > +Open Surge has been installed.
> > +
> > +
> > +When you have problems to build Source please reinstall
> > +
> > +audio/alure
> > +x11-fonts/alfont
> > +
> > +
> > +After deinstallation, some files may stay in %%DATADIR%%,
> > +you can delete them with
> > +
> > +    /bin/rm -fr %%DATADIR%%
> > +
> > +
> > +Have fun!
> > +
> >
> > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D
> >
> > Added: head/games/opensurge/pkg-descr
> >
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
> > --- /dev/null   00:00:00 1970   (empty, because file is newly added)
> > +++ head/games/opensurge/pkg-descr      Tue Mar 11 05:04:29 2014
> >  (r347840)
> > @@ -0,0 +1,5 @@
> > +Open Surge is an open source retro-style 2D sidescroller inspired by
> > +old-school games. Join Surge, Neon and Charge and save the world from
> > +the evil Gimacian the Dark!
> > +
> > +WWW: http://opensnc.sourceforge.net/
> >
> > Added: head/games/opensurge/pkg-plist
> >
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
> > --- /dev/null   00:00:00 1970   (empty, because file is newly added)
> > +++ head/games/opensurge/pkg-plist      Tue Mar 11 05:04:29 2014
> >  (r347840)
> > @@ -0,0 +1,11 @@
> > +bin/opensurge
> > +share/icons/hicolor/128x128/apps/opensurge.png
> > +share/icons/hicolor/16x16/apps/opensurge.png
> > +share/icons/hicolor/256x256/apps/opensurge.png
> > +share/icons/hicolor/32x32/apps/opensurge.png
> > +share/icons/hicolor/48x48/apps/opensurge.png
> > +share/icons/hicolor/64x64/apps/opensurge.png
> > +share/icons/hicolor/72x72/apps/opensurge.png
> > +share/icons/hicolor/96x96/apps/opensurge.png
> > +share/pixmaps/opensurge.png
> > +
> > _______________________________________________
> > svn-ports-all@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/svn-ports-all
> > To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
> >
>=20
>=20
>=20

--=20
Best regards,
Rusmir Du=C5=A1ko



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