1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-08 12:01:56 +00:00
Alexey Dokuchaev 3c2f3a6078 - Reindent Makefile header
- Adjust COMMENT
- Unmute INSTALL_FOO statement
- Whitespace fixes in pkg-descr

Approved by:	maintainer
2005-05-22 05:06:50 +00:00

45 lines
1.1 KiB
Makefile

# New ports collection makefile for: Leafpad
# Date created: 2004-10-18
# Whom: Michael Johnson <ahze@ahze.net>
#
# $FreeBSD$
#
PORTNAME= leafpad
PORTVERSION= 0.8.1
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= radek@raadradd.com
COMMENT= GTK+ based simple text editor
USE_GNOME= gtk20 gnomehier desktopfileutils
USE_REINPLACE= yes
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}" \
PTHREAD_LIB="${PTHREAD_LIBS}"
CONFIGURE_ARGS= --enable-chooser
.if !defined(NOPORTDOCS)
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/pixmaps|/gnome/pixmaps|; \
s|/applications|/gnome/applications|' \
${WRKSRC}/Makefile.in ${WRKSRC}/src/Makefile.in
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
-@update-desktop-database
.include <bsd.port.mk>