aboutsummaryrefslogtreecommitdiffstats
path: root/biology/gperiodic/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'biology/gperiodic/Makefile')
-rw-r--r--biology/gperiodic/Makefile20
1 files changed, 9 insertions, 11 deletions
diff --git a/biology/gperiodic/Makefile b/biology/gperiodic/Makefile
index 131cbfa6a33a..2a9540aec05a 100644
--- a/biology/gperiodic/Makefile
+++ b/biology/gperiodic/Makefile
@@ -12,25 +12,23 @@ MASTER_SITES= ftp://ftp.seul.org/pub/gperiodic/
MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
-
-USE_GMAKE= yes
WRKSRC= ${WRKDIR}/gperiodic
-MAN1= gperiodic.1
-
USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_GTK= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
- GLIB_CONFIG="${LOCALBASE}/bin/glib12-config" \
- GTK_CONFIG="${X11BASE}/bin/gtk12-config"
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+
+MAN1= gperiodic.1
post-install:
- @ ${INSTALL_MAN} ${WRKSRC}/man/gperiodic.1 ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/man/gperiodic.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
- @ ${MKDIR} ${PREFIX}/share/doc/gperiodic
+ @${MKDIR} ${PREFIX}/share/doc/gperiodic
.for file in AUTHORS COPYING Changes README
- @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/gperiodic
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/gperiodic
.endfor
.endif