1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/print/pup/Makefile
Tijl Coosemans 3ce0f21808 devel/glib12 x11-toolkits/gtk12:
- Convert to USES=libtool and bump dependent ports
- Add INSTALL_TARGET=install-strip
- Remove patches that renamed include directories and libraries so they
  didn't conflict with early development versions of glib/gtk 2.0
2014-09-13 15:11:27 +00:00

33 lines
736 B
Makefile

# Created by: Klaus Goger <klaus.goger@reflex.at>
# $FreeBSD$
PORTNAME= pup
PORTVERSION= 1.1
PORTREVISION= 5
CATEGORIES= print
MASTER_SITES= SF
DISTNAME= ${PORTNAME}_${PORTVERSION}_src
MAINTAINER= ports@FreeBSD.org
COMMENT= GTK+ printer setup and maintaining tool
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
USE_GNOME= gtk12
PLIST_FILES= bin/pup
post-patch:
@${REINPLACE_CMD} -e \
's| =| ?=| ; \
s|$$(CC) $$(SRCS)|$$(CC) $$(CFLAGS) $$(SRCS)| ; \
s|gtk-config|$$(GTK_CONFIG)|' ${WRKSRC}/Makefile
.for i in lexgui.c build_choices.c proutines.c
@${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' ${WRKSRC}/${i}
.endfor
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} pup ${STAGEDIR}${PREFIX}/bin)
.include <bsd.port.mk>