- Add license (GPLv2) - Use the new format for LIB_DEPENDS - Add docs and Option Approved by: wg/pawel (mentors)
41 lines
853 B
Makefile
41 lines
853 B
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xautomation
|
|
PORTVERSION= 1.07
|
|
CATEGORIES= x11
|
|
MASTER_SITES= http://hoopajoo.net/static/projects/
|
|
|
|
MAINTAINER= nemysis@FreeBSD.org
|
|
COMMENT= Control X from the command line for scripts
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png
|
|
|
|
USE_XORG= xtst
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
PLIST_FILES= bin/pat2ppm bin/patextract bin/png2pat bin/rgb2pat \
|
|
bin/visgrep bin/xmousepos bin/xte
|
|
|
|
MAN1= pat2ppm.1 patextract.1 png2pat.1 rgb2pat.1 \
|
|
visgrep.1 xmousepos.1 xte.1
|
|
MAN7= xautomation.7
|
|
|
|
PORTDOCS= AUTHORS ChangeLog README
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|