diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2014-09-09 22:43:36 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2014-09-09 22:43:36 +0800 |
commit | bac626e76f61b8a339e742a122419e6f4a2cafd3 (patch) | |
tree | 66c6b3a084a30018e5030b7c6a90d69f0432d749 /textproc/confget | |
parent | d2da308cb5f9d16655dbfe25e52563a05e87e3d0 (diff) | |
download | freebsd-ports-gnome-bac626e76f61b8a339e742a122419e6f4a2cafd3.tar.gz freebsd-ports-gnome-bac626e76f61b8a339e742a122419e6f4a2cafd3.tar.zst freebsd-ports-gnome-bac626e76f61b8a339e742a122419e6f4a2cafd3.zip |
- Use hand-made do-install
Diffstat (limited to 'textproc/confget')
-rw-r--r-- | textproc/confget/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/textproc/confget/Makefile b/textproc/confget/Makefile index 275adf354563..bfcb287f1923 100644 --- a/textproc/confget/Makefile +++ b/textproc/confget/Makefile @@ -16,18 +16,20 @@ OPTIONS_DEFINE= EXAMPLES PCRE OPTIONS_DEFAULT=PCRE MAKE_ENV= CFLAGS_CONF=-DHAVE_FGETLN -USES= gmake uidfix +USES= gmake PLIST_FILES= bin/confget \ man/man1/confget.1.gz PORTEXAMPLES= t1.ini t2.ini -EXAMPLES_MAKE_ENV= EXAMPLESDIR=${EXAMPLESDIR} PCRE_LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre PCRE_MAKE_ENV_OFF= PCRE_CFLAGS="" PCRE_LIBS="" -post-build: - @${STRIP_CMD} ${WRKSRC}/confget +do-install: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ + ${INSTALL_PROGRAM} ${WRKSRC}/confget ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/confget.1 ${STAGEDIR}${PREFIX}/man/man1/ + cd ${WRKSRC}/t/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/ regression-test test: build cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test |