diff options
author | krion <krion@FreeBSD.org> | 2003-12-18 02:17:48 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2003-12-18 02:17:48 +0800 |
commit | f6b7bf49753acfd4ff0ecbc265b895f949df10ce (patch) | |
tree | a8789d605fbd9d9072d684ef451094df1196f1cf /misc | |
parent | fee254247921f176c73daa0d051392223b357930 (diff) | |
download | freebsd-ports-gnome-f6b7bf49753acfd4ff0ecbc265b895f949df10ce.tar.gz freebsd-ports-gnome-f6b7bf49753acfd4ff0ecbc265b895f949df10ce.tar.zst freebsd-ports-gnome-f6b7bf49753acfd4ff0ecbc265b895f949df10ce.zip |
- s/PERL/REINPLACE_CMD/g
- Do not install "COPYING"
- Bump PORTREVISION
- Pet portlint
PR: 54636
Submitted by: Ulrich Spoerlein <q@uni.de>
Approved by: maintainer timeout (1 month)
Diffstat (limited to 'misc')
-rw-r--r-- | misc/gtktalog/Makefile | 18 | ||||
-rw-r--r-- | misc/gtktalog/pkg-plist | 18 |
2 files changed, 18 insertions, 18 deletions
diff --git a/misc/gtktalog/Makefile b/misc/gtktalog/Makefile index 8ee54ad72d86..69bdb8aa2f87 100644 --- a/misc/gtktalog/Makefile +++ b/misc/gtktalog/Makefile @@ -7,6 +7,7 @@ PORTNAME= gtktalog PORTVERSION= 1.0.0 +PORTREVISION= 1 CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_SAVANNAH} MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}.pkg/${PORTVERSION} @@ -18,19 +19,22 @@ USE_GNOME= gnomeprefix gnomelibs GNU_CONFIGURE= yes USE_X_PREFIX= yes USE_BZIP2= yes -USE_PERL5= yes +USE_REINPLACE= yes MAN1= gtktalog.1 -DOCS= AUTHORS BUGS COPYING ChangeLog NEWS README TODO +DOCS= AUTHORS BUGS ChangeLog NEWS README TODO + +CONFIGURE_ENV= XGETTEXT=${LOCALBASE}/bin/xgettext post-patch: - ${PERL} -pi -e "s@^(Applicationsdir = ).*@\1${PREFIX}/share/gnome/apps/Applications@" ${WRKSRC}/Makefile.in - ${PERL} -pi -e "s@^(localedir = ).*@\1${PREFIX}/share/locale@" \ + @${REINPLACE_CMD} -e "s@-lpthread@${PTHREAD_LIBS}@" ${WRKSRC}/configure + @${REINPLACE_CMD} -E "s@^(Applicationsdir = ).*@\1${PREFIX}/share/gnome/apps/Applications@" ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -E "s@^(localedir = ).*@\1${PREFIX}/share/locale@" \ ${WRKSRC}/po/Makefile.in.in - ${PERL} -pi -e "s@^(gtktalog_helpdir = ).*@\1${PREFIX}/share/gnome/help/gtktalog/C@" ${WRKSRC}/Docs/C/Makefile.in - ${PERL} -pi -e "s@^(gtktalog_helpdir = ).*@\1${PREFIX}/share/gnome/help/gtktalog/fr@" ${WRKSRC}/Docs/fr/Makefile.in - ${PERL} -pi -e "s@^(MountPoint ).*@\1/cdrom@" \ + @${REINPLACE_CMD} -E "s@^(gtktalog_helpdir = ).*@\1${PREFIX}/share/gnome/help/gtktalog/C@" ${WRKSRC}/Docs/C/Makefile.in + @${REINPLACE_CMD} -E "s@^(gtktalog_helpdir = ).*@\1${PREFIX}/share/gnome/help/gtktalog/fr@" ${WRKSRC}/Docs/fr/Makefile.in + @${REINPLACE_CMD} -E "s@^(MountPoint ).*@\1/cdrom@" \ ${WRKSRC}/src/gtktalog/gtktalog.cf.in.in post-install: diff --git a/misc/gtktalog/pkg-plist b/misc/gtktalog/pkg-plist index e349b7d959c8..aa0cc77732f5 100644 --- a/misc/gtktalog/pkg-plist +++ b/misc/gtktalog/pkg-plist @@ -146,14 +146,13 @@ share/gnome/help/gtktalog/fr/x835.html share/gnome/help/gtktalog/fr/x846.html share/gnome/help/gtktalog/fr/x947.html share/gnome/pixmaps/gtktalog.png -%%PORTDOCS%%share/doc/gtktalog/AUTHORS -%%PORTDOCS%%share/doc/gtktalog/BUGS -%%PORTDOCS%%share/doc/gtktalog/COPYING -%%PORTDOCS%%share/doc/gtktalog/ChangeLog -%%PORTDOCS%%share/doc/gtktalog/NEWS -%%PORTDOCS%%share/doc/gtktalog/README -%%PORTDOCS%%share/doc/gtktalog/TODO -%%PORTDOCS%%@dirrm share/doc/gtktalog +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/BUGS +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm lib/gtktalog @dirrm share/gnome/gtktalog/icons @dirrm share/gnome/gtktalog/xpm @@ -161,6 +160,3 @@ share/gnome/pixmaps/gtktalog.png @dirrm share/gnome/help/gtktalog/C @dirrm share/gnome/help/gtktalog/fr @dirrm share/gnome/help/gtktalog -@unexec rmdir %D/share/locale/*/LC_MESSAGES 2>/dev/null || true -@unexec rmdir %D/share/locale/* 2>/dev/null || true -@unexec rmdir share/locale 2>/dev/null || true |