diff options
author | adamw <adamw@FreeBSD.org> | 2002-10-27 23:24:19 +0000 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2002-10-27 23:24:19 +0000 |
commit | bf313bfef525a67f586704137620856d182ec6d4 (patch) | |
tree | 031c7fd28a6a9c68b9c98e469bc50a86fab8466d /x11/peeper | |
parent | 23e8ab6505341ecc9b6053422b4595710ddaeb66 (diff) | |
download | FreeBSD-ports-bf313bfef525a67f586704137620856d182ec6d4.zip FreeBSD-ports-bf313bfef525a67f586704137620856d182ec6d4.tar.gz |
Support CFLAGS, and install documentation.
PR: 44489
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Approved by: pat
Diffstat (limited to 'x11/peeper')
-rw-r--r-- | x11/peeper/Makefile | 16 | ||||
-rw-r--r-- | x11/peeper/pkg-plist | 2 |
2 files changed, 10 insertions, 8 deletions
diff --git a/x11/peeper/Makefile b/x11/peeper/Makefile index 6dca2db..71b4c622 100644 --- a/x11/peeper/Makefile +++ b/x11/peeper/Makefile @@ -8,24 +8,24 @@ PORTNAME= peeper PORTVERSION= 0.1 +PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= http://peeper.sourceforge.net/ MAINTAINER= ports@FreeBSD.org -USE_REINPLACE= yes USE_GNOMENG= yes -USE_GNOME= gtk12 imlib +USE_GNOME= imlib USE_GMAKE= yes +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} `${IMLIB_CONFIG} --cflags-gdk`" \ + LIBS="`${IMLIB_CONFIG} --libs-gdk`" ALL_TARGET= peeper -MAKE_ENV= LIBS="-L${LOCALBASE}/lib -lpng -ljpeg -lungif -ltiff" - -post-patch: - @${REINPLACE_CMD} -e "s|^CC|#CC|g" -e "s|CFLAGS=|CFLAGS+=|g" \ - -e "s|gtk-config|${GTK_CONFIG}|g" -e "s|-ldl||g" \ - -e "s|LIBS=|LIBS+=|g" ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/peeper ${PREFIX}/bin +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif .include <bsd.port.mk> diff --git a/x11/peeper/pkg-plist b/x11/peeper/pkg-plist index d4f496e..ec50b73 100644 --- a/x11/peeper/pkg-plist +++ b/x11/peeper/pkg-plist @@ -1 +1,3 @@ bin/peeper +%%PORTDOCS%%share/doc/peeper/README +%%PORTDOCS%%@dirrm share/doc/peeper |